LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache can not to find test web page (https://www.linuxquestions.org/questions/linux-newbie-8/apache-can-not-to-find-test-web-page-363841/)

backpacker 09-16-2005 01:48 AM

Apache can not to find test web page
 
I installed Apache_1.3.23 under RH Linux9 and get Apache's test page using http://localhost.But I failed to get http://localhost/hello.php ,it said "The requested URL /hello.php was not found on this server."How should I do to get test page /hello.php?

I issue " /usr/local/apache/bin/apachectl start",I get :
"/usr/local/apache/bin/apachectl start: httpd (pid 3563) already running".
When I issue command "httpd"or"apachectl start",get message as following:
"httpd: Could not determine the server's fully qualified domain name, using 10.1.9.20 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down"
What mean by these?

ag2uki 09-16-2005 02:02 AM

Quote:

...failed to get http://localhost/hello.php ,it said "The requested URL /hello.php was not found on this server..
Of course, there's no hello.php in your Document Root :P

You cannot start Apache server if it's already running.

backpacker 09-16-2005 02:34 AM

Than you very much.I see.


All times are GMT -5. The time now is 04:33 AM.