I have an Apache Web server set up on Windows 2000 on one host machine called HOSTA. I can use PHP+APACHE+ORACLE using the 'http://localhost/foo.php' for example. But when I go to one of my other machines (ie HOSTš and I type: 'http://HOSTA/foo.php' I get the HTTP 404 error: "The page cannot be found". How can I configure Apache correctly so I can 'see' the Apache web server? Thanks.
Raymond Sassine
Make sure the pages are in the htdocs directory for Apache. More importantly it sounds like HOSTB doesnt' know about HOSTA's IP address, is there DNS information setup correctly?
-Josh
try changing the port.. Normal dsl and cable comps block the standard web ports (81).
its in Apaches httpd.conf, search for port 81 and change to something like... 31
Thanks a lot. But I need more help. when I changed the port to the one you suggested Apache stopped working altogether. I get 'The page cannot be displayed'. Any other suggestions is acceptable. (By the way Jordan NETSTAT -a give me information BUT I dont know how to interpret it)
can you post the results of the netstat command?
You should put the port number in the http link.
like http://localhostšORT
Thanks guys. The problem is solved by Jordan indicating that I should put the port number after the localhost, ie, http://localhost:888.
Thanks Raymond
Thanks Jordan. That did it.
Raymond