Re: Mod Rewrite help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How would I mod_rewrite a request for /baseball.htm into
/query.php?q=baseball?

This should be doing it as far as I can tell, but for some reason it's not...


RewriteEngine on
RewriteRule /^(.+).htm$ /query.php?q=$1

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux