Brian Dunning wrote:
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
RewriteEngine on
RewriteRule ^/(.+)\.htm$ /query.php?q=$1
Bu
Mikey wrote:
RewriteEngine on
RewriteRule /^(.+).htm$ /query.php?q=$1
^-- this slash looks to me like its in the wrong place.
AFAIK you should have that space at the end of your regex after the $
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
> RewriteEngine on
> RewriteRule /^(.+).htm$ /query.php?q=$1
AFAIK you should have that space at the end of your regex after the $
HTH,
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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://ww
Hello Brian,
Monday, March 21, 2005, 6:05:59 PM, you wrote:
BD> I know this isn't exactly a PHP question, but it's for a PHP site if
BD> that helps :) :)
BD> How would I mod_rewrite a request for /baseball.htm into
BD> /query.php?q=baseball?
Definitely more than one way to skin this cat,
5 matches
Mail list logo