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.
Dear list,
I use some rewrite rule in .htaccess to prevent some bots like
`
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
a-lot-of
RewriteCond %{HTTP_USER_AGENT} ^Whacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
RewriteCond
J. Bakshi wrote:
Dear list,
I use some rewrite rule in .htaccess to prevent some bots like
`
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
a-lot-of
RewriteCond %{HTTP_USER_AGENT} ^Whacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
André Warnier wrote:
J. Bakshi wrote:
Dear list,
I use some rewrite rule in .htaccess to prevent some bots like
`
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
a-lot-of
RewriteCond %{HTTP_USER_AGENT} ^Whacker [OR]
RewriteCond