httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Schutte <kschu...@csail.mit.edu>
Subject Re: [users@httpd] Can't get mod_rewrite to do anything
Date Wed, 02 Aug 2006 15:22:57 GMT
Vincent Bray wrote:
> The debian apache layout usually includes a default virtual host in a
> directory called sites-enabled. If you 've got one of those, your
> rewrite rules in the main server context will have no effect. There
> are two ways around this, either move the rules in to the default
> vhost, or add RewriteEngine On and RewriteOptions Inherit to that
> vhost.
> 

That was it - I put it in the default vhost file and it's working now. 
Thanks!

Ken

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message