httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlo Florendo" <>
Subject [users@httpd] virtual host doesn't show correct site in IE5
Date Tue, 22 Jul 2003 07:44:53 GMT

I've set-up 2 IP addresses (via interface aliasing) in one ethernet interface:
and   The DNS servers have
mapped to and to

Furthermore, the httpd server was configured to that it binds itself to listen to both

The httpd server is configured with one virtual host (in addition to the non-virtual host).
 The following lines show the relevant
directives in the httpd.conf file.



DocumentRoot /var/www/html

    DocumentRoot /var/www/training/

When I use IE5 in machine A to access the site (, I am
(incorrectly) shown the index.html page
of (

However, if I use IE6 in Machine B to access the 2 sites, I am given the expected results
(i.e. the index.html corresponding to each
of the 2 sites appears as expected.)

I assumed that it's probably the IE cache that's causing the problem so I tried to verify
whether IE5 actually contacts the httpd
server when I type the sitename of the virtual host ( in the URL bar.
 Interestingly enough, the request was
captured in the log so I concluded that, please correct me if I'm wrong, IE didn't go through
its cache when it retrieved the web

The following is the log entry in the access_log file of the machine that connected to the
virtual host (
using IE6. - - [22/Jul/2003:15:05:24 +0800] "GET / HTTP/1.1" 200 809 "-" "Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.0)"

The following is the log entry for the machine that connects to the virtual host (
using IE5. - - [22/Jul/2003:15:05:42 +0800] "GET / HTTP/1.1" 304 0 "-" "Mozilla/4.0 (compatible;
MSIE 5.01; Windows NT 5.0)"

The first log entry corresponded to the correct access (i.e. I accessed
and I got it)

The second log entry corresponded to the unexpected access (i.e. I accessed
but I got

I have  httpd-2.0.40-8 under Redhat Linux 8.0 with kernel-2.4.18-14 in my system.

My question thus, are:

Why was the index.html file for the non-virtual host ( retrieved when
I tried to access the virtual host

If IE uses its cache, why is there a log entry in access_log?

Thank you very much.

Best Regards,

Carlo Florendo
Astra Philippines Inc.

I've configured some one virtual host with our apache server but I don't get the correct version
websites to

I've been running apache httpd-2.0.40-8 under Redhat Linux kernel-2.4.18-14

Carlo Florendo
Astra (Philippines), Inc.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message