httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis Watson" <li...@visionsix.com>
Subject Re: mod_userdir and multiple domains problem
Date Sat, 01 Dec 2001 17:00:11 GMT
Please let me recap what you are saying. I need to put exactly "Userdir
disabled" in the main configuration and then at the the domain with the
users I need:

<VirtualHost 123.456.798>
DocumentRoot /home/www/domain
ServerName www.domain.com
Errorlog /home/www/domain/logs
UserDir Enabled
</VirtualHost>

Thank you for your time.
Lewis

----- Original Message -----
From: "Joshua Slive" <joshua@slive.ca>
To: <users@httpd.apache.org>; <lists@visionsix.com>
Sent: Saturday, December 01, 2001 9:22 AM
Subject: Re: mod_userdir and multiple domains problem


>
> On Sat, 1 Dec 2001, Hasanuddin Tamir wrote:
>
> > On Fri, 30 Nov 2001, Lewis Watson <lists@visionsix.com> wrote,
> >
> > > Hello everyone. I am currently using apache 1.3.20 on a linux machine
with
> > > several ip based virtual domains. I have mod_userdir on and
successfully
> > > running in the users public_html folder that on the web comes out as
> > > www.domain.com/~username/. This is what I want it to do except I only
need
> > > it on one domain and currently it is working on all domains that the
server
> > > is hosting. How can I limit the user directories to just one domain? I
have
> > > checked the doc's but seem to be empty handed on this.  Thanks for
your
> > > time.
> >
> > You have to separte that domain from the other so only one domain that
> > has ~username capability.  1. Have a dedicate daemon (another apache)
> > serves the domain, or, 2. Use the same apache but different httpd.conf.
>
> No.  This is not necessary -- in fact, it is major overkill for this
> little problem.  There is a "Userdir disbabled" configuration. All you
> need to do is put "Userdir disabled" in the main server context and then
> add "Userdir public_html" to the one vhost where you want to make it work.
>
> See:
> http://httpd.apache.org/docs/mod/mod_userdir.html#userdir
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message