Computing.Net > Forums > Linux > Apache not behaving

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Apache not behaving

Reply to Message Icon

Name: ourmember
Date: October 18, 2006 at 19:09:48 Pacific
OS: linux
CPU/Ram: 800
Product: dell
Comment:

after setting up apache server (on Enterprice Linux CentOS)i cant view it via browser. from the local machine when i enter: http://localhost/index.html i will get responce saying: "The requested URL index.html was not found on this server"
i did create this simple index.html file and dump it in the documentroot.
how do i succesfully run the test?



Sponsored Link
Ads by Google

Response Number 1
Name: ctj
Date: November 7, 2006 at 08:06:08 Pacific
Reply:

Try http://localhost. If not showing the default apache page, check if httpd(apache webserver is running) by typing
$ps aux | grep httpd
if this not showing any processes with httpd(of course it will display the above command), try starting httpd as root
#/etc/init.d/httpd start
(you can check httpd is running by #/etc/init.d/httpd status)
If httpd is running and still not showing the page, then problem !!. Will need to check the /etc/httpd/conf/httpd.conf settings and other network settings of your computer.. which you could get from internet faqs.. It is not possible checking the machine without having access to it ;).


http://www.tofftech.co.uk


ctj


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Apache not behaving

apache not working! www.computing.net/answers/linux/apache-not-working/11000.html

apache not working in redhat linux8 www.computing.net/answers/linux/apache-not-working-in-redhat-linux8/25384.html

at... not behaving www.computing.net/answers/linux/at-not-behaving/6328.html