httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Mass configured virtual hosts and dynamic alias's
Date Thu, 26 Jan 2006 14:28:24 GMT
On 1/26/06, Tom Turrisi <tom@turrisi.co.uk> wrote:

>
> This works fine but what i would like is to have an alias of /dshop go
> to /domains/%1.1/%1.2/%0/shop for all the virtual hosts. Unfortunately
> for me, the variables only work when using the VirtualDocumentRoot
> directive and not the Alias directive.

Right.  If you want to do this type of interpolation on alias-type
things, you'll need to throw out mod_vhost_alias and use mod_rewrite:
http://httpd.apache.org/docs/1.3/vhosts/mass.html#simple.rewrite

Joshua.

---------------------------------------------------------------------
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