Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2004 14:40:48 +0100
From:      Jez Hancock <jez.hancock@munk.nu>
To:        Duane Winner <duanewinner@att.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache2 and UserDir in FreeBSD
Message-ID:  <20040617134048.GA27933@munk.nu>
In-Reply-To: <20040617060407.GA16332@munk.nu>
References:  <40D09CA2.2030703@att.net> <20040617060407.GA16332@munk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 17, 2004 at 07:04:07AM +0100, Jez Hancock wrote:
> On Wed, Jun 16, 2004 at 03:16:50PM -0400, Duane Winner wrote:
> > 
> > Does anybody know why this is happening:
> > 
> > I have found that with apache2, installed via portinstall on both 4.9 
> > and 5.x, the UserDir is enabled even if it is commented out in httpd.conf!
> > 
> > It is on by default in the stock httpd.conf that installs with apache2. 
> > If I comment it out and restart, I have found that users can still 
> > create "public_html" directories in their home directories, and publish 
> > content.
> 
> I found this odd as well on apache13 a while ago. UserDir is enabled by
> default for apache13 and will only be 'disabled' if you set it
> disabled explicitly in httpd.conf:
...
on rereading my post I realize I forgot to say that the details in my
post also apply to apache 2.x as well as 1.3.x - that's to say that by
default apache 2.x has UserDir enabled by default on FreeBSD.  Turn it
off using 'UserDir disabled' in httpd.conf.


-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/        - ipfw peruser traffic logging



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040617134048.GA27933>