Hello. Does anyone know how I can configure apache 2.0.x to map all requests to a given subdomain to a give directory regardless of the rest of the server name?

Doing this for my webmail setup... so mail.foo.com, mail.bar.com, mail.baz.com, etc. should all map to my squirrelmail directory.

I've been doing this by adding virtual host directives for the mail subdomain for every domain I add but it seems like there should be an easier way. I figure I can probably do it with mod_rewrite but I'm no wizard with that.

thanks,

b
--
[email protected] mailing list

Reply via email to