[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Apache vhosts dinamically alias

Hmm...  This might work...  In your virtualhost declaration in httpd.conf
place the Alias definition such as "Alias /stats/

For example:
<VirtualHost www.virtualhosta.com>
ServerAdmin webmaster@virtualhosta.com
DocumentRoot /var/WWW
ServerName www.virtualhosta.com
Alias /stats/ /var/stats/virtualhosta.com

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

-----Original Message-----
From: teixi@island.6tems.com [mailto:teixi@island.6tems.com]On Behalf Of
Jaume Teixi
Sent: August 30, 2000 2:04 PM
To: debian-isp@lists.debian.org; 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
same for virtualhostB, etc

I've tried

Alias /%1/stats    /var/stasts/%1 with no success

any Ideas?


To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact

Reply to: