HTTPD restart problem

eddiewest

New member
Joined
Jun 7, 2018
Messages
1
After new installation of DA 2, PHP5.6.36 on Debian 6 I got this error and I don't know how to solve it

Starting httpd: Syntax error on line 9 of /etc/httpd/conf/extra/httpd-directories.conf:
Invalid command 'AllowMethods', perhaps misspelled or defined by a module not included in the server configuration

My httpd-directories.conf looks like this

da:/etc/httpd/conf/extra# vi httpd-directories.conf
<Directory />
Options All
AllowOverride All
</Directory>

<Directory /home>
AllowOverride All
Options -MultiViews -Indexes +FollowSymLinks +IncludesNoExec +Includes
AllowMethods GET HEAD POST
</Directory>

Include /etc/httpd/conf/extra/httpd-hostname.conf

<Directory /var/www/cgi-bin>
AllowOverride None
Options None
Require all granted
</Directory>
 
Hello,

How did you manage to install Directadmin on Debian 6? Directadmin does not support the Debian 6 any longer. I suspect you have apache installed from .deb package, it's not installed by custombuild.

I'd suggest that you upgrade to at least Debian 7 (and Debian 8 is even better).

https://help.directadmin.com/item.php?id=497
 
Back
Top