Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   Apache doesn't start anymore
Date:   2004-09-16 07:12:09
From:   pixelized
Since i wasn't able to save changes to the httpd.conf file, i made a stupid thing: after having edited it, i saved it on the desktop and then i changed the file properties (permissions, owner and so on), copying them from those ones belonging to the original file. Then i replaced my new httpd.conf file with the original one, placed in httpd folder. Now, if i try to turn on 'web sharing', from the sys prefs, nothing happens (it says it is starting but it never starts). I see that in the httpd folder there is a httpd.config.bak file, can i enable it to somehow make it work?it is a copy of the httpd.conf original file, isn't it? There's also a httpd.conf.default file, over there... maybe it can be used too? you told to use sudo to edit httpd.conf or bbedit shell, but isn't there any other way to edit (and save!!) it? Thanks in advance, i hope you'll help me.


PS: i'm running Panther 10.3.4 on a 1.25GHz PowerPCG4

Main Topics Oldest First

Showing messages 1 through 2 of 2.

  • Apache doesn't start anymore
    2005-08-19 21:06:09  dreamingkat [View]

    you can get more information on why apache isn't restarting by using the terminal to restart it. Try "sudo apachectl graceful". (the command is apachectl (apache control), the option is graceful, and sudo means "hey os x, pretend I'm god and can do whatever I want for a few minutes". You'll have to enter your login password and be in the admin group for this to work.)
  • Apache doesn't start anymore
    2004-10-12 19:53:07  diad [View]

    ya duh, I did the same thing. Any luck getting an answer to this problem? I was trying to add a directory to my config file so GoLive would know where to place the site folder.It doesn't work if you change the permissions again.
    Mine never says it's starting, just stays gray. And I see that I copied my httpd file back from my desktop to etc (it asked me to authenticate when I did) and now it's there without .config at the end.