• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue httpd Error

Jacob Kelly

New Pleskian
I am getting the following error when I try 'rebuild all' in the 'Webserver Configuration Troubleshooter' extension.

New configuration files for the Apache web server were not created due to the errors in configuration templates: AH00526: Syntax error on line 104 of /etc/httpd/conf/httpd.conf: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration


In my /etc/httpd/conf/httpd.conf file:

102 <Directory />
103 AllowOverride None
104 </Directory>


Any help would be appreciated.
 
Try to find mention of this "Require" with something like:

# grep -R Require /etc/httpd/conf/*
 
I removed all the lines specific to vhosts.


Does this assist at all in troubleshooting the issue?



/etc/httpd/conf/httpd.conf: Require all granted

/etc/httpd/conf/httpd.conf: Require all granted

/etc/httpd/conf/httpd.conf: Require all denied

/etc/httpd/conf/httpd.conf: Require all granted

/etc/httpd/conf/modsecurity.d/rules/modsecurity_crs-plesk/modsecurity_crs_20_protocol_violations.conf:# Require Content-Length to be provided with every POST request.

/etc/httpd/conf/plesk.conf.d/horde.conf.bak: Require all granted

/etc/httpd/conf/plesk.conf.d/horde.conf.bak: SSLRequireSSL

/etc/httpd/conf/plesk.conf.d/horde.conf.bak: Require all granted

/etc/httpd/conf/plesk.conf.d/horde.conf: Require all granted

/etc/httpd/conf/plesk.conf.d/horde.conf: SSLRequireSSL

/etc/httpd/conf/plesk.conf.d/horde.conf: Require all granted

/etc/httpd/conf/plesk.conf.d/server.conf.bak: Require all granted

/etc/httpd/conf/plesk.conf.d/server.conf.bak: Require all granted

/etc/httpd/conf/plesk.conf.d/server.conf.bak: Require all granted

/etc/httpd/conf/plesk.conf.d/server.conf.bak: Require all granted

/etc/httpd/conf/plesk.conf.d/roundcube.conf: Require all granted

/etc/httpd/conf/plesk.conf.d/roundcube.conf: Require all granted

/etc/httpd/conf/plesk.conf.d/server.conf: Require all granted

/etc/httpd/conf/plesk.conf.d/server.conf: Require all granted

/etc/httpd/conf/plesk.conf.d/server.conf: Require all granted

/etc/httpd/conf/plesk.conf.d/server.conf: Require all granted
 
Back
Top