httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chase <>
Subject Re: [users@httpd] [RESOLVED] Regular Expression Question
Date Thu, 28 Jul 2005 06:19:47 GMT
got it working.

here's what i did:

in /.htaccess, i've got:

     RewriteEngine on
     RewriteRule ^(.*)$$1 [R=301,L]

and in /cgi-bin/.htaccess, i've got:

     RewriteEngine off

it's not perfect.  for instance, if someone requests http://, it won't get redirected to, it'll just return a 404 (from when it doesn't find  
the file on

but for all other file requests, it'll work perfectly.


- chase

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