httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Baker <>
Subject [users@httpd] Differences in .htaccess and httpd.conf
Date Tue, 01 Jul 2003 18:35:06 GMT
I'm trying to redirect some requests coming in from one domain to 
another... So I put the following line in the httpd.conf and it works just 
fine. Redirects anything to test.php on the other server, GET variables in 
tact. If I put that SAME line in an .htaccess file and remove it from the 
httpd.conf it redirects to the other domain just fine, only WITHOUT the GET 
variables. Is there something I'm missing here?

RedirectMatch 302 test.php(.*)$1

docs say it should be ok. It says it should over-ride just fine, I'm not 
sure why there is different behavior in the .htaccess file.

Is there a difference between putting the config line in one place or the 

Scott Baker - Webster Internet
Network Engineer - RHCE - 503.266.8253 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message