Index: [Article Count Order] [Thread]

Date:  Fri, 14 Apr 2006 14:56:17 +0200
From:  Trond =?ISO-8859-1?Q?Hus=F8?= <tr-huso (at mark) online.no>
Subject:  [coba-e:04666] Re: user / virtual host
To:  coba-e (at mark) bluequartz.org
Message-Id:  <1145019378.2212.6.camel (at mark) evon160.safranmedia.com>
In-Reply-To:  <01a701c65f33$657d9e60$0301a8c0@Jerrycp>
References:  <01a701c65f33$657d9e60$0301a8c0@Jerrycp>
X-Mail-Count: 04666

Hi list,

You can also do URL Rewrite on the specified website.conf. I did some
research on this a while back and made it work. But after a hack on the
server and change of servers I have lots the conf-file. 

The idea is this though:
url: www.domain.com/~username becomes username.domain.com

You have to setup DNS to direct *.domain.com not only www.domain.com

I haven't checked Brians pkgs so I don't know if that one does the same.
I see that Plesk creates subdomains under user/subdomains/httpdocs
Default website is at user/httpdocs
SSL-sites under user/httpsdocs

Something to consider for BlueQuartz?

Br
Trond

On Thu, 2006-04-13 at 14:49 -0500, Gerald Waugh wrote:
> You wrote;
> > 
> > Are there any scripts available that when adding a user like
> > 
> > www.domain.com/username
> > or
> > www.domain.com/~username
> > 
> > the vhost for that user can become like: username.domain.com ?
> 
> I believe you need sub-domains, Brian has a sub-domain package.
> BQ-5102R-NuOnce-SubDomains.1.0.pkg
> Also you need DNS records for username.domain.com 
> 
> Gerald