No, it's not.  You wouldn't grant write access to the Apache home directory to 
a person.  That's why the UserDir exists.  Otherwise, CGI scripts could do 
real harm to the Apache home directory, which is not intended for anyone 
except the webmaster/site admin to touch.

If you have a problem chmodding the home dirs to 755, either direct your users 
to create a subfolder into their $HOME directory with mask 700 and store 
personal directories there, or modify the UserDir directive.

That's the way to go in all *nixes.  Nothing except under $HOME should be 
user-writeable.

Axalon Bloodstone <[EMAIL PROTECTED]> said: 

> On Mon, 6 Sep 1999, Manuel Amador wrote:
> 
> > 
> > That's not the way to go.  That poses security risks to you.
> > 
> > The proper way is to use the UserDir apache directive to use the 
public_html 
> > folder into the users $HOME directory, and chmodding the home directories 
to 
> > 755.
> > 
> > Better change soon...
> 
> Actualy his way is more secure, then you do not have to allow "nobody"
> access to the homedir and it can be chmod 700
>  
> > Bug Hunter <[EMAIL PROTECTED]> said: 
> > 
> > > 
> > >   We modified adduser to create /home/httpd/html/username every time a
> > > user was created.  We then added a soft link from the user's home
> > > directory to the directory in the html directory.  now, people go to
> > > http://systemname.com/username  and pick up index.html in that 
directory.
> > > 
> > > 
> > > 
> > > On Mon, 6 Sep 1999, Ron Smith wrote:
> > > 
> > > > Here's a tough one for the experts...
> > > > 
> > > > I have the Apache Web Server running - it is accessible and working 
fine.
> > > > What I would like to do is have a separate web page for each user name 
I 
> > have
> > > > on the system.  Is that do-able?  If so, how can I do it?
> > > > 
> > > > Thanks to one and all for your expert advice...
> > > > 
> > > > Ron
> > > 
> > 
> > 
> > 
> > --
> >        Rudd-O
> >        Jefe de operaciones
> >        Alpha Omega Creative Solutions
> > 
> > 
> 
> --
> MandrakeSoft          http://www.mandrakesoft.com/
>                                         --Axalon
> 



--
       Rudd-O
       Jefe de operaciones
       Alpha Omega Creative Solutions

Reply via email to