Results 1 to 2 of 2

Thread: HTTPD restart problem

  1. #1
    Join Date
    Jun 2018

    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 /home>
    AllowOverride All
    Options -MultiViews -Indexes +FollowSymLinks +IncludesNoExec +Includes
    AllowMethods GET HEAD POST

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

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

  2. #2
    Join Date
    Apr 2005
    GMT +7.00

    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).

Posting Permissions

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