Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 2
Subject:   retarting Apache...
Date:   2002-03-24 22:40:54
From:   senecasax
I wanted to do server side includes, so i followed your instructions.
I try to restart apache and it doesnt!
I type httpd -t and get the following:


Syntax error on line 2 of /etc/httpd/httpd.conf:
Invalid command 'd/mod_include.so', perhaps mis-spelled or defined by a module not included in the server configuration


What did i do wrong? the line in the file here looks like this:


LoadModule negotiation_module libexec/httpd/mod_negotiation.so
LoadModule includes_module libexec/httpd/mod_include.so
LoadModule autoindex_module libexec/httpd/mod_autoindex.so


What's wrong?


Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • retarting Apache...
    2002-03-25 08:24:23  senecasax [View]

    I ended up just overwriting the httpd.conf file with its backup.. maybe emacs won't kill the file like word did...
    • surely there's a better way?
      2002-06-11 06:29:36  macette [View]

      i got the same thing, and i could easily replace the apache file... but would prefer to know how to de-bug. (my error message was:

      "virginia% sudo apachectl start
      Syntax error on line 1 of /etc/httpd/httpd.conf:
      Invalid command '/etc/httpd/httpd.conf', perhaps mis-spelled or defined by a module not included in the server configuration
      /usr/sbin/apachectl start: httpd could not be started"

      in the error log (am very new to this, so this is quite possibly totally irrelevant) it says:

      "[Tue Jun 11 22:40:27 2002] [notice] caught SIGTERM, shutting down"

      help? anybody?