0
Possible Duplicate:
Apache w/out internet connection
I have installed Apache server on my local machine and managed to see local PHP files with my browser. However, later I found out that I cannot do it if I have no Internet connection. In other words, is it true that Apache cannot display files on my computer if I have no Internet connection? Why does it need Internet to read from the local hard disc? And how I can overcome this limitation?
That sounds totally bizarre; hopefully, Apache is configured to listen on the local loopback adapter and isn't depending upon some other network interface being up. What actually happens, in terms of browser output, when you try and serve up a PHP file without a connection? – Rob – 2009-10-07T21:21:28.583
Sounds like apache is not listening to localhost, rather your network IP. See my comments below. – randomx – 2009-10-07T21:28:39.430
Should we assume you are trying to access the site through http://localhost?
– None – 2009-10-07T21:30:26.617serverfault.com? – GrzegorzOledzki – 2009-10-07T21:33:04.023
probably should be moved to serverfault – randomx – 2009-10-08T12:11:22.087