Azurel
Silver Pleskian
I have ban a IP from my server (testing purpose) with deny from in httpd.conf. Now this IP see a side with "Apache 2 Test Page - powered by CentOS"
I wand a "forbidden" page, not a "apache 2 test page".
Founded in /etc/httpd/conf.d/welcome.conf
But why noindex.html and not forbidden for deny from?
Solution: comment out "ErrorDocument 403 /error/noindex.html" and its working fine.
I wand a "forbidden" page, not a "apache 2 test page".
Founded in /etc/httpd/conf.d/welcome.conf
This is the test page side: http://ip/error/noindex.html<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>
But why noindex.html and not forbidden for deny from?
Solution: comment out "ErrorDocument 403 /error/noindex.html" and its working fine.
Last edited: