From owner-freebsd-isp Sat Jul 31 12: 9:31 1999 Delivered-To: freebsd-isp@freebsd.org Received: from filer2.isc.rit.edu (filer2.isc.rit.edu [129.21.3.107]) by hub.freebsd.org (Postfix) with ESMTP id 002AB14D8A for ; Sat, 31 Jul 1999 12:09:20 -0700 (PDT) (envelope-from jcptch@osfmail.isc.rit.edu) Received: from grace ("port 1551"@[129.21.3.102]) by osfmail.isc.rit.edu (PMDF V5.2-32 #34621) with SMTP id <0FFQ00K4BZRU1G@osfmail.isc.rit.edu> for freebsd-isp@freebsd.org; Sat, 31 Jul 1999 14:38:18 -0400 (EDT) Received: by grace (5.65v4.0/1.1.19.2/21Sep98-0910AM) id AA02029; Sat, 31 Jul 1999 14:39:06 -0400 Date: Sat, 31 Jul 1999 14:39:06 -0400 From: Jon Parise Subject: Re: philosophy of web administration In-reply-to: <199907310529.BAA50805@kiwi.datasys.net>; from ayan@kiwi.datasys.net on Sat, Jul 31, 1999 at 01:29:29AM -0400 To: freebsd-isp@freebsd.org Mail-followup-to: freebsd-isp@freebsd.org Message-id: <19990731143906.A1595@osfmail.isc.rit.edu> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.3i X-Operating-System: OSF1 V4.0 (alpha) References: <199907310529.BAA50805@kiwi.datasys.net> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Jul 31, 1999 at 01:29:29AM -0400, Ayan George wrote: > I'd like to implement a standard web directory structure where a > user has to place his or her web information in the standard > public_html directory. If they want a domain, a subdirectory called > domains will be added. Under it, directories for each of their > domains would reside like: > > ~user/public_html/ > ~user/domains/mydomain.com/ > ~user/domains/myseconddomain.com/ > ~user/domains/logs/ ( for log files for domains. ) > > (1) Does my web directory hierarcy make sense? It's pretty straightforward, and I'm sure the users will like it. You didn't mention how you have directory permissions set. If all users on the system below to a 'users' group, you could have one user browsing another users logs, for example. Anyway, that's one concern. If you enforce quotas on you system, this scheme will make things a little more difficult to work out as far as disk usage is concerned. What I did at the ISP I used to work with was devote a separate server to all things virtual/hosting related. It handle all mail traffic using qmail and vmailmgr so that I didn't need to run around creating accounts for bogus virtual email addresses and stuff. I ran the web servers and ftp servers in chroot'ed environments using a scheme like this: /virtual/domain.org/www /virtual/domain.org/ftp /virtual/domain.org/logs ... and so on. The most difficult part was educating users on where to place their files, etc., but I feel the gain in administrative ease and security was worth the setup and implementation time. This also kept the potential for nfs traffic down a bit, too. -- Jon Parise (parise@pobox.com) . Rochester Inst. of Technology http://www.pobox.com/~parise/ : Computer Science House Member To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message