[thelist] Redirect user agent to warning page

Raditha Dissanayake jabber at raditha.com
Sun Nov 16 10:15:15 CST 2003


Hi,
It could be because on certain configurations the error documents are 
delivered from a directory outside the htdocs, if you look at your error 
log file you will see some messages related to errordocument. That will 
help you diagnose and fix the problem.

all the best

John C Bullas wrote:

> At 11:44 16/11/2003, Raditha Dissanayake wrote
>
>> Hi,
>>
>> What you are trying to do will not work because almost all 
>> downloaders can change their identity very easily. If you want to go 
>> ahead with it anyway you might want to refer to the Apache Url 
>> Rewriting guide which has a couple of example that deals with serving 
>> different responses to different browsers.
>>
>> A better approach might be for you to indentify this particular users 
>> ip or network and block access to that ip. This can also be done with 
>> url rewrites.
>>
>> If you are lucky the downloader reffered to might be well written and 
>> might actually obey the robots.txt file. If it does this might be the 
>> simplest approach.
>
>
> OK, I set up a custom 401 page in /401/
>
> directory I want to block is
>
> /ime/ down from root
>
> .htaccess deny gives a server generated 401 error
> when a blocked IP tries to access this diectory.....
>
> BUT Not my custom one in /401/401.php
>
> why would this be?
>
> The .htaccess file in /ime/
>
> has
>
> ErrorDocument 401 401/401.php
> <Limit GET>
> order allow,deny
> allow from all
> deny from 82.133.113.185 #nildram.co.uk test
> </Limit>
>
> in it AND it blocks my IP!!!
>
> it just won't use my custom 401 page in /401/ off root
>
> FB
>
> Resolution?



-- 
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.




More information about the thelist mailing list