We currently have Apache installed on CentOS. We have run into a problem with one of our sites, in that since we have blocked access to wp-admin bots try and find it somewhere else therefore over loading our server. What we want to do is block Wordpress from handling any error pages, and let Apache do it. We have 30 wordpress sites, and want to disable it for all of them without having to go into a .htaccess file, therefore it likely needs to be done in httpd.conf .
Our current override settings are as follows:
# The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options -Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All
Our current error pages are defined in httpd.conf and working on non wordpress sites.
Any suggestions? Thanks.