Date: Sun, 6 Oct 2002 13:34:40 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Kirk Bailey <idiot1@netzero.net> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG> Subject: Re: directory structuer for a web server Message-ID: <20021006123440.GA14455@happy-idiot-talk.infracaninophi> In-Reply-To: <3D9FB14F.39203E9C@netzero.net> References: <3D9FB14F.39203E9C@netzero.net>
index | next in thread | previous in thread | raw e-mail
On Sat, Oct 05, 2002 at 11:43:11PM -0400, Kirk Bailey wrote:
> where should one properly place the directory for the web pages in a
> web server, and is there a standard name for it? I have a box with
> several domains in it, so I created /www off of root, ant
> /www/www.foo.foo for each domain under /www but I suspect this is
> not a standard solution. Any advice?
FreeBSD ports will put all webserver content into a data directory
under /usr/local/www/ --- often data.default --- but that takes no
account of having multiple virtual hosts.
I don't think there's sufficient people running large scale webservers
with many virtual hosts that any sort of standard location has
evolved.
Your layout is eminently sensible --- assuming /www is on it's own
partition and not part of the root. It happens to be exactly the same
system as used at the last place I worked, so you're probably on the
right wavelength somewhere.
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021006123440.GA14455>
