Results 1 to 2 of 2

Thread: HTTPD restart problem

  1. #1
    Join Date
    Jun 2018
    Posts
    1

    HTTPD restart problem

    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>

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,287
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •