Women in Technology

Hear us Roar

  Apache Web-Serving with Mac OS X: Part 2
Subject:   restarting Apache
Date:   2001-12-24 08:29:48
From:   morbus
Response to: restarting Apache

Sounds like there are some errors in your modifications of the httpd.conf file. To have Apache test your configuration, enter your Terminal, and type the following:

httpd -t

If everything is dandy, you'll get a "Syntax OK". If everything isn't, then it should point you to the reasons why.

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • restarting Apache
    2001-12-25 13:10:56  philocon [View]

    By entering "httpd -t" I get:

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

    What can I make of it?
    • Morbus Iff photo restarting Apache
      2001-12-25 16:06:09  Morbus Iff | O'Reilly Author [View]

      Welp, if you could open the httpd.conf file and scroll down to that area, could you cut and paste what you see in there, so that I can take a look.

      In my own httpd.conf, right around that area, I see:

      Options Includes Indexes FollowSymLinks MultiViews

      If, however, I incorrectly make that line:

      Includes Indexes FollowSymLinks MultiViews

      Then I get the same error that you're seeing.
      • restarting Apache
        2001-12-26 04:39:05  philocon [View]

        Everything works fine now! Many thanks!

        I made a rather embarassing mistake:
        "Includes Options ... "

        I' m learning a lot right now. It's quite hard work, and it's really exciting. - I'm looking forward to your next article.