httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hector <>
Subject RE: [users@httpd] Authentication for virtual host
Date Tue, 03 Dec 2002 09:43:37 GMT
D'oh - I meant to add some bits to that conf. Here's my next attempt:

If I have something like this:


<VirtualHost livesite.domain>
  DocumentRoot /var/www/livesite
  ServerName livesite.domain

<VirtualHost testsite.domain>
  DocumentRoot /var/www/testsite
  ServerName testsite.domain
  <Directory /var/www/livesite>
  Alias /images /var/www/livesite/images
  # Note that this Directory section is missing under the other VH
  <Directory /var/www/livesite/images>

Will that serve up http://livesite.domain/images/logo.png without
authentication, while http://testsite.domain/images/logo.png requires
it? Even though it's the same file?



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