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

Re: [cobalt-users] browse virtual site via IP and email storage?



Jim Carey wrote on 23.03.2001:

> AliasMatch ^/usersites/([^/]+)(/(.*))? /home/sites/$1/web/$3
> www.original.domain/usersites/www.newdomain.com

Heh, this works great. Thank you :-)

Is there any possibility to achieve something like this with
AliasMatch?

support.<somedomain.com>/<path>/<file>

   to

/home/sites/www.<somedomain.com>/web/support/<path>/<file>

I looked at http://httpd.apache.org/docs/mod/mod_alias.html
but unfortunately I'm not a fan of regualar expressions ;-)

It would be very nice and save me hours of work if I don't
need to have a virtual host for each support.<somedomain.com>

Thanks und best regards,
Daniel