• Hi, I wish to make a custom error page in html. How do I redirect the blocked IP addresses to that custom error page? what code or command do I add on the sample codes below?

    Order allow,deny
    Deny from 123.123.123.123
    Deny from 156.156.156.0/24
    Deny from 189.189.0.0/16
    Allow from all

Viewing 1 replies (of 1 total)
  • Thread Starter angpanday

    (@angpanday)

    Should it look something like this?

    ErrorDocument 403 /errors/403.html
    Order allow,deny
    Deny from 123.123.123.123
    Deny from 156.156.156.0/24
    Deny from 189.189.0.0/16
    Allow from all

Viewing 1 replies (of 1 total)
  • The topic ‘Redirecting htaccess to a custom error page?’ is closed to new replies.