Women in Technology

Hear us Roar



Article:
  Apache Web Serving with Jaguar
Subject:   Not Able to Start Personal Web Sharing
Date:   2004-12-05 12:03:43
From:   PeterEliasson
Response to: Not Able to Start Personal Web Sharing

I have the same problem. it DID work, but I must have messed stuff up. Now when I used the command line


sudo cp /Previous\ Systems/Previous\ System1/private/etc/httpd/httpd.conf /etc/httpd


I get the answer


cp: /Previous Systems/Previous System1/private/etc/httpd/httpd.conf: No such file or directory


I'm a total newbie so I'm so regretful. How can I make things right again?

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Not Able to Start Personal Web Sharing
    2007-04-23 11:35:51  cwjones [View]

    Ok. Not easy but if you stick with it you'll be fine. I'n no pro on these either but I got it working.
    For PHP4 people:
    If your missing your httpd.conf file and if you were unsuccessful when you made a back up, the best thing to do is to create a new mac user for your computer and start again.
    For PHP5 People.
    Hopefully you have backed up your original httpd.conf with the line below.
    sudo cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf.original
    If you recall when you did this you went through your pico and took out the hash marks at:
    LoadModule php4_module
    AddModule mod_php4.c
    I'm guessing you have now installed entropy to get php5. Logic thinking tells me if you have both php4 and php5 running then this is going to cause problems.
    If you have configured your php5 correctly all you will need to do now is revers the httpd.conf copy file:
    sudo cp /etc/httpd/httpd.conf.original /etc/httpd/httpd.conf
    or open up the httpd.conf file and add the hashes back.
    When you finish all that try and restart apache with;
    sudo apachectl restart
    If your still having problems try and add a new user to your computer. Good luck