While testing Apache's name virtual host feature I ran across a weird
behavior that I don't quite understand. I am using Apache 1.3.3, and
have configured several domains under it, the domains are all running
perfectly fine, everything seemed right. I was doing testing what would
happen when a browser which isn't compatible with http 1.1 would get
when requesting stuff off this server. Since I don't have a browser
which wasn't compatible to HTTP 1.1 I was requesting through telnet.
Here comes the odd part. If I telnet to the http port from a different
computer to the server and request a document using "GET /" I get the
response that I configured under apache basically getting a web page
saying that you can't view such and such site since you haven't
requested through HTTP 1.1. When I telneted from the the server itself,
telnet localhost 80, and send the same request "GET /" I get a directory
listing sent to me?
Now can anyone explain why I don't get the same response from both