Strange thing happening

Oh, the strange things mod_rewrite does!

Strange thing happening

Postby SanDiegoSEO » Fri Jun 17, 2005 9:45 am

I have these rules in the htaccess file for the following directory
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^gmq-([^.]+).*$ gmq.php?gt=$1 [T=application/x-httpd-php]
RewriteRule ^skiing-([^.]+).*$ skiing.php?gt=$1 [T=application/x-httpd-php]
RewriteRule ^specials-([^.]+).*$ specials.php?gt=$1 [T=application/x-httpd-php]
RewriteRule ^cities-([^.]+).*$ cities.php?city=$1 [T=application/x-httpd-php]
RewriteRule ^more-([^.]+).*$ more.php?id=$1 [T=application/x-httpd-php]


http://66.75.237.249/~jeffc/


But for some reason, the server is using an older rule and converting this URL:
http://66.75.237.249/~jeffc/gmq.php?qt=Romantic

to this:
http://66.75.237.249/~jeffc/gmq/qt/Romantic

And those above rules are not being followed. I've searched the server, and no other htaccess file can be found on it. I don't know where else the web server could be getting the rules to convert the URL strings, since it is no longer the htaccess file.

Any ideas?
SanDiegoSEO
 

Return to Idiosyncrasies

Who is online

Users browsing this forum: No registered users and 3 guests

cron