Page is a not externally linkable
- Code, Content, and Presentation
-- Perl Server Side CGI Scripting
---- A Close to perfect .htaccess ban list


Andy_White - 4:42 pm on Nov 28, 2002 (gmt 0)


Hi,

I've been reading through this thread and having used htaccess to secure areas of other websites I thought I'd test out the concepts on a dormant web site on my server.

But when I add the file which contains :-

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^Zeus
RewriteRule ^.* - [F,L]

I find I can't get into any of the pages.

The site is a virtual site on a server I have root access to and I've checked the httpd.conf to see that rewriteengine is on in each of the virtual sites.

Can anybody suggest what I'm doing wrong?

Andy

Later update

I've checked my server logs and I'm getting the message:-
RewriteEngine not allowed here

So now I'm really confused

Later still update

Solved it, I needed to amend the access.conf to allow overide on fileinfo


Thread source:: http://www.webmasterworld.com/perl/687.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com