httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Camner <>
Subject [users@httpd] Accessing a virtual host on a *nix based apache server from an XP box
Date Sat, 28 Feb 2004 16:50:11 GMT
I have apache 1.3 running on a *nix box (actually Mac OS 10.3.2).  I have
the following entries in my httpd.conf file:

<VirtualHost lbppdocs>
    DocumentRoot "/Users/robertcamner/Documents/Computer related/Web
    ServerName bppdocs
#the following Directory directive allows access to the DocumentRoot
specified above.  Also, the appropriate permissions must be set (set
"Others" to "Read only")
<Directory "/Users/robertcamner/Documents/Computer related/Web
    Options All
    AllowOverride All
    Order Allow,Deny
    Allow from All

Then, in my hosts file on the *nix box, I have an entry lbppdocs

This allows me to access the virtual host directory specified above.  I can
access it from a browser on my *nix box by

On my XP box, I added the line (the local address of the *nix
box) to the hosts file, but from a browser on the XP box, surfing to
[URL=http://lbppdocs]http://lbppdocs[/URL] takes me  to the root directory
on the apache server box, not the directory specified by the Directory entry
in the httpd.conf file.

So, the configuration works from the box on which apache is running, but not
from another machine.

Any help would be appreciated.

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