Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
This will not solve your bot problem. And I'm not sure it's even possible without turning off permalinks entirely. Which you don't want to do. –  Michael Hampton Nov 13 '13 at 2:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.