Re: [users@httpd] Can't get mod_rewrite to do anything

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

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux