IfModule *rewrite*

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

 



Hi,

I put the following lines into my apache.conf (outside, before a VHOST
definition):

<IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteLog /var/www/logs/rewrite.log
        RewriteLogLevel 2
</IfModule>

(I also tried mod_rewrite and rewrite_module)

Unfortunatly it seems it does not work.

But if I define the same lines within a VHOST it *does* work.

Why? Anything obvious? And yes, the modules *are* loaded *before* the
first IfModule statement.

~$ lsb_release -irs
Ubuntu
10.04
~$ apache2 -v
Server version: Apache/2.2.14 (Ubuntu)
Server built:   Nov  3 2011 03:30:19
~$

Thanks, Helmut


---------------------------------------------------------------------
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