Date: Sat, 30 Jan 1999 13:09:09 -0500 (EST) From: "Julian C. Dunn" <jdunn@aquezada.com> To: circuit@concentric.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: user public_html directory (was "Hello,") Message-ID: <XFMail.990130130909.jdunn@aquezada.com>
next in thread | raw e-mail | index | archive | help
>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:
<Directory />
Options FollowSymLinks
AllowOverride None
# any other stuff you need
</Directory>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990130130909.jdunn>
