.htaccess tutorial

htaccess Elite


IP Deny Custom Page

Anything not fitting into other categories

IP Deny Custom Page

Postby aeonsky » 24 Jul 2008 02:53

Hello!

I'm a somewhat of a noob at .htaccess. And my question was regarding denying IP's in .htaccess. Is it possible to have the IP's that are denied in the .htaccess to be forwarded to ban.html instead of showing this:

Code: Select all
Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5 Server at www.BLOCKED-OUT.com Port 80


I greatly appreciate any feedback. Thanks for the time and consideration!
aeonsky
 
Posts: 1
Joined: 24 Jul 2008 02:47

Return to Main