Re: Apache Wildcard Aliasing

2003-01-07 Thread Andreas Widerøe Andersen
Rus Foster wrote:


Hi All,
 I'm trying to work out if there is a way that I can get apache to handel
wildcard subdomains. Bascially what I would like is that if I have a user
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 everyone
manually?



If my memory serves me well:


ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/local/www/virtual/domain.com/data

AllowOverride All
Options Indexes Includes

ServerName www.domain.com
ServerAlias *.domain.com



/Andreas

--
Andreas Widerøe Andersen <[EMAIL PROTECTED]>
Pragma AS

http://www.pragma.no


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Apache Wildcard Aliasing

2003-01-07 Thread Dirk-Willem van Gulik


On Tue, 7 Jan 2003, Rus Foster wrote:

>  I'm trying to work out if there is a way that I can get apache to handel
> wildcard subdomains. Bascially what I would like is that if I have a user
> 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 everyone
> manually?

You may be better off asking these questions to the apache crowd. Or check
the manual of apache.

Specifcally check out the mod_rewrite examples 
(...mod_rewrite/mod_rewrite_example.html)

Dw



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Apache Wildcard Aliasing

2003-01-07 Thread Rus Foster
Hi All,
 I'm trying to work out if there is a way that I can get apache to handel
wildcard subdomains. Bascially what I would like is that if I have a user
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 everyone
manually?

Rgds

rus

--
http://www.fsck.me.uk - My blog
http://www.65535.net - $120 for a lifetime UNIX shell account


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message