Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 09:31:08 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        randy@turbowarp.net
Cc:        questions@FreeBSD.ORG
Subject:   Re: Web Root Directory
Message-ID:  <20021014083108.GA47706@happy-idiot-talk.infracaninophi>
In-Reply-To: <1985.207.71.22.111.1034564389.squirrel@new.host.name>
References:  <1985.207.71.22.111.1034564389.squirrel@new.host.name>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 13, 2002 at 09:59:49PM -0500, randy@turbowarp.net wrote:

> Where should Apache web root directory be for users?

By default, the web root is /usr/local/www/data --- for a freshly
installed port that's linked to /usr/local/www/data-dist which
contains the default apache website.  You're meant to break that link
and provide your own stuff in /usr/local/www/data.

However, I guess that what you are really asking is about the
configuration of user web directories: eg. http://www.foo.com/~user/
That's controlled by the UserDir directive in httpd.conf. The default
value is 'public_html', so your users should just create a
~/public_html directory and put their web content into it.

	Cheers

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

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?20021014083108.GA47706>