web server help needed

garymum4d

Idiot
HELP HELP HELP

I have a small network of Mac's running 10.2.6. One Mac is running 10.2.6 Server, we use this as a mail server and a local intranet. I have recently installed and activated PHP using instructions from http://www.entropy.ch. I had a problem with the httpd.conf file and had to edit it with simple text to remove a # symbol in front of the LoadModule and AddModule lines. Now the Web Services will not start at all. Like an idiot i did not make a back up of the httpd.conf file.
How can i fix this
 
SimpleText exchanges any line feed with a carriage return which makes the httpd.conf file unparsable for Apache.

Try the following:

1) Open Terminal

2) Navigate to the directory where the httpd.conf file is located

3) Rename the file:
mv httpd.conf httpd.conf.broken

4) Change all carriage returns to line feeds:
tr \015 \012 <httpd.conf.broken >httpd.conf

This should solve your problem.
 
Back
Top