httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike W <mi...@crucis.net>
Subject Re: [users@httpd] Virtual Host document root problem
Date Fri, 18 Apr 2003 21:30:55 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 18 April 2003 04:27 pm, Dennis Speekenbrink wrote:
> Hi,
>
> Do you have:
>
> NameVirtualHost *
>
> In your httpd.conf file just above the VirtualHost definitions?
> And do your requests go to your global DocumentRoot, or to the first
> VirtualHost-DocumentRoot (which automatically acts as the
> default...)?
>
> Grtz,
> Dennis
>
> ># Default server
> ><VirtualHost *>
> >     ServerAdmin me@mydomain.net
> >     DocumentRoot /var/www/html
> >     ServerName www.mydomain.net
> ></VirtualHost>
> >
> ># 2nd server
> ><VirtualHost *>
> >     ServerAdmin me@mydomain.net
> >     DocumentRoot /var/www/html/2ndServerDir
> >     Servername www.my2nd-domain.net
> ></VirtualHost>
>
My global DocumentRoot is the same as my default.  I'm wondering if I 
should comment out the global DocumentRoot.

Mike W

- -- 
Registered Linux - 256979
NRA Life
ARS: WØTMW








-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+oG6S5fq6h2uDDlQRAjJXAKDtBCuCdfpzD2fizWDPdOres5hbOwCg41Tl
yX3+lFbO43IB7Jf0yNAOJp8=
=lApA
-----END PGP SIGNATURE-----


-- 
This message has been scanned for viruses and
dangerous content by F-Prot and MailScanner, 
and is believed to be clean.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message