Gentoo Archives: gentoo-server

From: Ben Munat <bent@×××××.com>
To: gentoo-server@l.g.o
Subject: [gentoo-server] apache config question
Date: Tue, 03 Oct 2006 07:24:27
Message-Id: 45220F93.5070207@munat.com
1 Hello. Does anyone know how I can configure apache 2.0.x to map all
2 requests to a given subdomain to a give directory regardless of the rest
3 of the server name?
4
5 Doing this for my webmail setup... so mail.foo.com, mail.bar.com,
6 mail.baz.com, etc. should all map to my squirrelmail directory.
7
8 I've been doing this by adding virtual host directives for the mail
9 subdomain for every domain I add but it seems like there should be an
10 easier way. I figure I can probably do it with mod_rewrite but I'm no
11 wizard with that.
12
13 thanks,
14
15 b
16 --
17 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] apache config question Javier Barrio <coder@×××××.org>
Re: [gentoo-server] apache config question "Michael Stewart (vericgar)" <vericgar@g.o>