• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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