Click to See Complete Forum and Search --> : Apache help


ncsuapex
12-08-2003, 08:40 PM
Ok,

I am running RedHat 9 and what ever versino of Apache that came with it.. Not exactly sure..

I've messed with the httpd.conf file a bit and the page loads when I type
http:/localhost/


but I cant get it to work via my url or by machines IP....


For the ServerName

Ive tried:
My URl with port 80
My local machines IP with port 80
and my internet Ip with port 80


After each configuration change I've stopped/started Apache.

Am I on the right track? What else should I be checking for?

sharth
12-08-2003, 09:19 PM
might we see the httpd.conf and the output of ifconfig and what the webpage www.whatismyip.com says that your ip is?

blobaugh
12-08-2003, 09:21 PM
We need a little more info, like is it showing up on the host itself when you open it in a browser but not when you do it on a remote machine? I had a problem like this once and it had to do with everytime you changed apache you have to restart it. Sounds like you have done that though. Another option is the firewall. You may have inadvertently blocked http in your firewall, or it may have been done when you installed RH. Take a look at your firewall and let us know what you find there

ncsuapex
12-09-2003, 11:59 AM
Ok the httpd.conf fine is a rather large file. Do you want me to post the entire file or is there anything specific you are looking for? Also, who should run apache? I have only been able to get it started running it as root. Should the ID of Apache run it? if so I am getting an error when I try to run it as Apache. it says This Account is currently not available. But it shows up when I run a finger on it and I reset the PW. I have port 80 opend on my routers. Does RH9 come with its on Firewall that I need to check? The only way i can get the page to load is if i type http://localhost on my linux machine.

ncsuapex
12-09-2003, 02:57 PM
Ok i fixed it


If you want to use the Servername option you have to set this also


UseCanonicalName On


before it was set to yes..

I added my URL to the ServerName and it worked..

thanks