You're right. Not much joy in finding in that, especially as I don't have a right click!
Well holding control and clicking gives you a right-click if you don't have an external mouse.
Do you think that if I pasted your file contents it could do any serious damage? Otherwise I guess I could, at least, compare the two.
Thanks for your help so far!
Damage? No. Worst thing that could happen is that Apache wouldn't start, but since that seems to be the case now...
I'd recommend backing up the old one first... Go into Terminal and do...
Code:
sudo cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf.bak
...and enter your administrator password. I'm attaching my httpd.conf as httpd.conf.txt. Save that somewhere and copy it into place. If you put it on your desktop, then go into Terminal and do...
Code:
sudo mv ~/Desktop/httpd.conf.txt /etc/httpd/httpd.conf
I'm also including httpd.conf.bak.txt that I found laying about. I think it's the default httpd.conf that I backed up before I made my changes. The changes I see (from doing a diff) are:
- Decreased number of servers from 5 to 1 (saves a little bit of memory)
- Added php4 module
- Added bonjour module
- Changed httpd process from user nobody to user www
That last change is the only one I can think of that might cause problems. Perhaps someone here who has a vanilla httpd.conf can say which of the following lines they have in their file (from the output of my diff):
Code:
332,333c330,331
< User www
< Group www
---
> User nobody
> Group nobody
Obviously you'll have to restart apache afterward... I'm keeping my fingers crossed. This is probably self-evident, but if you have troubles, restore from your backup in the Terminal with
Code:
sudo cp /etc/httpd/httpd.conf.bak /etc/httpd/httpd.conf
...and restart Personal Web Sharing from the Sharing System Preference.
View attachment httpd.conf.txt
View attachment httpd.conf.bak.txt