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


bull - 8:47 pm on Oct 1, 2002 (gmt 0)


hi,

testing my htaccess I get the following error (excerpt):

You don't have permission to access /
on this server.<P>
<P>Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request

although I specified
ErrorDocument 404 /err404.htm
ErrorDocument 403 /err403.htm

and this text above is not my err403. So UA xy also gets a 403 while getting the err page I think.

my last lines in htaccess:
RewriteCond %{HTTP_USER_AGENT} ^PortalBSpider
RewriteRule ^.* - [F,L]
RewriteCond %{HTTP_REFERER} ^http://www.iaea.org$
RewriteRule !^http://[^/.]\.mydomain.net.* - [F]

any ideas? please help.


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