MLUG: Re: [UUG/MLUG] www accounts for users
Re: [UUG/MLUG] www accounts for users
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Mon, 4 Oct 1999, Kyle Krieg wrote:

> say I have two users, joe and bob.  

You have two users, joe and bob.

;P

> They want to put a webpage up on the
> server. I've looked around and can't find anything on how to do this.  I
> tried it with my account by creating a www directory, setting chmod a+r
> and putting sample pages in but all it get is 403 forbidden access.  Is
> there something else I'm missing??

Yeah, you're missing one of two things:

1) Directory permissions.  Make sure all the directories along the chain
(/home/joe/www) have the execute permission set, which allows people to
enter into the directory.  You want to see something like:

drwx--x--x

with more r's or w's if you want.

2) directory names.  Do you have the right name?  Do a grep for UserDir
(not sure of capitalization) in your apache config files.  It's probably
set to public_html by default.  Change it, then do a
/etc/rc.d/init.d/httpd restart.  (or you could force everyone to type
public_html every time)

HTH,
--Mark
KB0UFV