Date: Tue, 07 Jan 2003 10:29:06 +0100 From: Andreas =?ISO-8859-1?Q?Wider=F8e?= Andersen <awand@pragma.no> To: Rus Foster <rghf@fsck.me.uk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Apache Wildcard Aliasing Message-ID: <3E1A9DE2.3050200@pragma.no> References: <20030107083835.U56927-100000@freebsd.rf0.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Rus Foster wrote: > Hi All, > I'm trying to work out if there is a way that I can get apache to hand= el > wildcard subdomains. Bascially what I would like is that if I have a us= er > joe with the subdomain joe.fsck.me.uk that apache will automatically > direct http://joe.fsck.me.uk and http://www.joe.fsck.me.uk to > /home/joe/public_html. Is this possible or will I have to setup everyon= e > manually? If my memory serves me well: <VirtualHost *> ServerAdmin webmaster@domain.com DocumentRoot /usr/local/www/virtual/domain.com/data <Directory /usr/local/www/virtual/domain.com/data> AllowOverride All Options Indexes Includes </Directory> ServerName www.domain.com ServerAlias *.domain.com </VirtualHost> /Andreas --=20 Andreas Wider=F8e Andersen <awand@pragma.no> Pragma AS http://www.pragma.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E1A9DE2.3050200>