| Article: |
Apache Web-Serving with Mac OS X: Part 2 | |
| Subject: | restarting Apache | |
| Date: | 2001-12-24 05:09:53 | |
| From: | philocon | |
|
My first experience with Apache Web-Serving was thrilling. - But there is an annoying problem: After making changes to Apache's configurarion file I'm not able to restart Apache via the Sharing preference panel. I can stop it, but when I click "Start" again it says: "Web Sharing is being activated ... [Web Sharing wird aktiviert ...]." And that's it. - Is somebody out there who can help me? Many thanks in advance Alban |
||
Showing messages 1 through 5 of 5.
-
restarting Apache
2003-06-17 23:24:50 anonymous2 [View]
I can't seem to start Apache either. I ran httpd -t, and got no errors. Any other ideas?
-
restarting Apache
2001-12-24 08:29:48 Morbus Iff |
[View]
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. -
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? -
restarting Apache
2001-12-25 16:06:09 Morbus Iff |
[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:
Options
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.
Alban


