From owner-freebsd-questions Sat Jan 30 12:06:43 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA04691 for freebsd-questions-outgoing; Sat, 30 Jan 1999 12:06:43 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from aquarius.aquezada.com (trt-on22-13.netcom.ca [207.181.87.205]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA04661 for ; Sat, 30 Jan 1999 12:06:38 -0800 (PST) (envelope-from jdunn@aquezada.com) Received: (from jdunn@localhost) by aquarius.aquezada.com (8.9.1/8.9.1) id NAA15682; Sat, 30 Jan 1999 13:09:10 -0500 (EST) (envelope-from jdunn@aquezada.com) X-Authentication-Warning: aquarius.aquezada.com: jdunn set sender to jdunn@aquezada.com using -f Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sat, 30 Jan 1999 13:09:09 -0500 (EST) Reply-To: jdunn@aquezada.com Organization: Aquezada Productions From: "Julian C. Dunn" To: circuit@concentric.net Subject: Re: user public_html directory (was "Hello,") Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I have a web server running freebsd2.2.7 with apache1.3 and my question is >how can you run many web sites from one domain? >Example: www.happystuff.com is the main web site how does one make all >my users have a web page. I was told how to do it but it don't seem to work >Example: say I have a user named dude. the Main web site looks something >like this: www.happystuff.com/~dude right >Also I have put a public_HTML in the users directory, but no mater what I do >it will say permission denied. One problem is that some installs of FreeBSD (such as a 2.2.6 I once did) make /home a symbolic link from /usr/home. This really screws up Apache, because IIRC the default permissions for the / directory are "NoSymLinks" (check your {srm|access|httpd}.conf files to see if this is the case). The solution is to let Apache follow symbolic links, by using the following parameters: Options FollowSymLinks AllowOverride None # any other stuff you need HTH, Julian [ Julian C. Dunn - jdunn@aquezada.com WWW: http://www.aquezada.com/ ] [ programmer, web designer, unix user, fumbler, writer, and future engineer] [ FuE exfe94 a+++ Ifte/slc lonca r- ps++ bs+ t++/*t C+++$/C! w+++ p7 LF+++ ] [N++/N! cd260 pr++ g+++ S-/S *x++ Fa+++/Fa$/Fa! m1 b+ fc+++/ E>+ rl-- *d s!] [ "... for one human being to love another, that is perhaps the most ] [ difficult of all our tasks" - rainer maria rilke ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message