public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-server] apache config question
@ 2006-10-03  7:21 Ben Munat
  2006-10-03  7:32 ` Javier Barrio
  2006-10-05  2:13 ` Michael Stewart (vericgar)
  0 siblings, 2 replies; 12+ messages in thread
From: Ben Munat @ 2006-10-03  7:21 UTC (permalink / raw
  To: gentoo-server

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
-- 
gentoo-server@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-10-05  4:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-03  7:21 [gentoo-server] apache config question Ben Munat
2006-10-03  7:32 ` Javier Barrio
2006-10-03  8:24   ` Hans-Christian Otto
2006-10-03  8:56     ` Ben Munat
     [not found]   ` <45221D54.8060906@munat.com>
2006-10-03  8:47     ` Javier Barrio
2006-10-03 13:47       ` Ben Munat
2006-10-03 14:22         ` Javier Barrio
2006-10-04  4:55           ` Hans-Christian Otto
2006-10-04  7:45             ` Nicolas MASSÉ
2006-10-05  2:13 ` Michael Stewart (vericgar)
2006-10-05  3:20   ` Ben Munat
2006-10-05  4:30     ` James Hiscock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox