• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Apache 2 Test Page?

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
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>
This is the test page side: http://ip/error/noindex.html

But why noindex.html and not forbidden for deny from?

Solution: comment out "ErrorDocument 403 /error/noindex.html" and its working fine. ;)
 
Last edited:
Back
Top