filipp@fiBook.local [Metadata] > curl -v http://127.0.0.1/~filipp/collective/show.php?id=rss
* About to connect() to 127.0.0.1 port 80
* Trying 127.0.0.1... * connected
* Connected to 127.0.0.1 (127.0.0.1) port 80
> GET /~filipp/collective/show.php?id=rss HTTP/1.1
User-Agent: curl/7.13.1 (powerpc-apple-darwin8.0) libcurl/7.13.1 OpenSSL/0.9.7l zlib/1.2.3
Host: 127.0.0.1
Pragma: no-cache
Accept: */*
< HTTP/1.1 200 OK
< Date: Sat, 24 Feb 2007 10:27:41 GMT
< Server: Apache/1.3.33 (Darwin) PHP/5.2.0
< X-Powered-By: PHP/5.2.0
< Set-Cookie: PHPSESSID=4fnmhuf56d5h3ifqg6qcai8k12; path=/
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Transfer-Encoding: chunked
< Content-Type: text/xml
AND
filipp@fiBook.local [Metadata] > curl -v http://localhost/~filipp/collective/show.php?id=rss
* About to connect() to localhost port 80
* Trying ::1... * connected
* Connected to localhost (::1) port 80
> GET /~filipp/collective/show.php?id=rss HTTP/1.1
User-Agent: curl/7.13.1 (powerpc-apple-darwin8.0) libcurl/7.13.1 OpenSSL/0.9.7l zlib/1.2.3
Host: localhost
Pragma: no-cache
Accept: */*
< HTTP/1.1 200 OK
< Date: Sat, 24 Feb 2007 10:28:51 GMT
< Server: Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7l DAV/2
< Last-Modified: Sat, 24 Feb 2007 10:05:15 GMT
< ETag: "3747e6-d1b-b6aecc0"
< Accept-Ranges: bytes
< Content-Length: 3355
< Content-Type: text/plain
When I open the page in a browser, the first one is returned regardless if I use localhost.
Just a silly Listen directive somewhere I'm sure, but goes to show what can happen when you start monkeying around with multiple web servers on the same machine.