![]() |
|
#1
|
|||
|
|||
htaccess confllic!Hello and thanks in advnce for any help....
I have the folowing root structure: {folder1} {folder2} .htaccess file.php and the htaccess rule is RewriteRule ^([^/]+)/([^/]+)/hotels/([^/]+)-([^/]+)-category\.htm$ file.php?area=$1&island_name=$2&island_name=$3&tna me=$4 [NC,L] so this will give me : mysite.com/area/island/hotels/island-hotels-category.htm IF i add the folder {area} in the root folder (where the file.php is), the htaccess rule dont work ** it coniders the last ([^/]+)-([^/]+) part as one (1) variable, thus not being able to query my db. IF i use (_) insted of (-) in rule (and in links in page), the htaccess rule works fine giving me mysite.com/area/island/hotels/island_hotels_category.htm Any ideas on what the problem/conflict may be? |
Recent GIDBlog
2nd Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Basic htaccess Question | justinhn | Apache Web Server Forum | 3 | 13-Jun-2005 08:20 |
| htaccess: deny by http_user_agent | tim9021 | Apache Web Server Forum | 2 | 21-Mar-2005 07:28 |
| Denying directory listing and htaccess question | meet_raman | Apache Web Server Forum | 11 | 01-Jul-2004 10:20 |
| can i check the url the user tries to access | pelegk2 | Apache Web Server Forum | 6 | 07-Jan-2004 00:00 |
| bypass htaccess | fraggle two | Apache Web Server Forum | 3 | 11-Nov-2003 03:56 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The