I am taking an online course in php-mysql and I had only httpd-2.2.4-2.fc6 installed so I built the lamp stack and started httpd, and then asked my teacher how to take it offline like wamp. He said to change allow to deny and port to 127.o.o.1 something and when I couldn't get a script to run I changed it back. I also changed ServerName to localhost. Anyway apache won't restart and I didn't back up the file. I'm getting error:
Just tried one last time as root
service httpd start
and got
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 332 of /etc/httpd/conf/httpd.conf:
Listen not allowed here.I copied listen 80 in the place it was but keep getting error.
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80
#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
Also before when it worked in place of local host I think it had a fake address
www.somrthing blah . Do you know what that is supposed to read/default? thanks I really need help. I paid for the class and I'm missing it!