Hmm... This might work... In your virtualhost declaration in httpd.conf
place the Alias definition such as "Alias /stats/
/var/stats/virtualhosta.com"
For example:
<VirtualHost www.virtualhosta.com>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/WWW
ServerName www.virtualhosta.com
Alias /stats/ /var/stats/virtualhosta.com
</VirtualHost>
You can place any httpd.conf, srm.conf, access.conf etc. statement inside a
virtualhost declaration. There might be a faster to go about this, such as
if you had a lot of virtual hosts, but this should work.
Brian Jones
Network Specialist
Northroute Networks Ltd.
(807) 346-4266
[EMAIL PROTECTED]
http://www.northroute.net
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Jaume Teixi
Sent: August 30, 2000 2:04 PM
To: [EMAIL PROTECTED]; Debian User
Subject: Apache vhosts dinamically alias
Importance: High
I have each virtual host under /var/www
I want to enable a virtualhostA.com/stats URL that points to
/var/stats/virtualhostA.com
same for virtualhostB, etc
I've tried
Alias /%1/stats /var/stasts/%1 with no success
any Ideas?
thanks,
jaume.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]