Re: httpd.conf syntax

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

 





RewriteRule ^.* - [F,L]
`````````````````````````

Now in httpd.conf I have added the file as

`````````
Include /etc/apache2/blacklist.conf
`````````````````

Restarted the apache and no error message.

BUT wget is successful. It was not successful when the configuration was
in .htaccess.
Have I missed something ?


vhosts do not automatically inherit rewrite directives. You may need either to include this directly into the vhost(s) where you want it to apply, or put:

RewriteOptions inherit

in each vhost.


--
Rich Bowen




[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