From: Marble Head <Marble.Head@nospam.guacamole.com>
Subject: Re: Help: Apache Web server
Date: 2000/09/21 [thread overview]
Message-ID: <39CA654B.9B820291@nospam.guacamole.com> (raw)
In-Reply-To: G16FnL.12p@bhishma.cse.iitb.ernet.in
> cd /home
> chmod 711 ~user
> chmod 755 ~user/public_html
> chmod 644 ~user/public_html/<files/here>
> chmod 755 ~user/public_html/<dirs/here>
Have you tried this?
It doesn't seem to make sense to me. Why the ~ in front of user? Is that a special
folder somebody created, or is it part of their login name, or a type-o, or
something I don't understand?
Also, on my system, in order for httpd to reach the /home/joeuser/public_html/*
files, all of those paths needed to be read and execute permissions, in other words,
755.
Here's another idea:
In the apache configuration files somewhere, there must be a setting that tells it
"When you get a request for http://www.domain.com/~user, look in the
/home/user/public_html folder," because not every system puts the users under /home.
So that setting must be changeable, for example, to /home/personalpages/user.
If the users want the public_html folder in their regular /home/user folder, make a
softlink.
Allow the full 755 permissions on /home/personalpages, because if it's public anyway
(accessible through http://www.domain.com/~user) then who will be upset that
somebody read it? And you still can preserve normal permissions on your /home/user
folder.
next prev parent reply other threads:[~2000-09-21 4:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-19 4:00 Help: Apache Web server Pixel
2000-09-19 4:00 ` sideband
2000-09-19 4:00 ` Marble Head
2000-09-20 3:59 ` Pixel
2000-09-20 4:00 ` sideband
2000-09-21 4:00 ` Sally Woolrich
2000-09-20 4:00 ` Mamata Desai
2000-09-21 4:00 ` Marble Head [this message]
2000-09-22 0:11 ` James T. Dennis
2000-09-23 4:00 ` Gunnar Gaubatz
2000-09-23 4:00 ` Pat Gunn
2000-09-24 4:00 ` Gunnar Gaubatz
2000-09-19 4:00 ` Pixel
2000-09-19 4:00 ` sideband
2000-09-19 14:12 ` Pixel
2000-09-19 14:14 ` Pixel
2000-09-19 4:00 ` sideband
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox