httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [users@httpd] httpd.conf syntax
Date Thu, 24 Sep 2009 16:02:30 GMT
>
>
> 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
rbowen@rcbowen.com




Mime
View raw message