RE: [ILUG] apache documentroot ?

From: Dave Airlie (David.Airlie at domain ul.ie)
Date: Tue 11 Jul 2000 - 11:48:01 IST


In a typical of other people fashion on this list :-) NONONONONONONONO

don't do that sorta thing with apache, apache runs as nobody for a very
good reason so it can do no damage, if you give nobody ownership of these
dirs then if you hack the webserver yuou can feck up the root page not
what you want ...

Dave.
never saw this happen on skynet NOT :-)

On Tue, 11 Jul 2000, Burke, Gary : GIG IS&T wrote:

> What accesses are on /home/httpd/html? Who owns the file? What user is
> apache running under.
>
> Normally, Apache runs under the 'nobody' user, so it helps if /home/httpd
> and all subdirectories are owned by user nobody (and maybe group nobody too)
>
>
>
> Gary
>
> > -----Original Message-----
> > From: SP K [SMTP:spk_ie at domain yahoo.co.uk]
> > Sent: Tuesday, July 11, 2000 11:16 AM
> > To: ilug at domain linux.ie
> > Subject: [ILUG] apache documentroot ?
> >
> > hey, seen as i cant find a mailing list on
> > www.aapche.org (anyone have a apache mailing list i
> > can subcribe to?), i will post my question here. I
> > have apache installed as standard on redhat6.2, in the
> > httpd.conf file my documentroot says: DocumentRoot
> > "/home/httpd/html/" , but when i got to acess it on
> > web it says: do not have permission to access '/' ..so
> > where is the root comming from ? is there another
> > directive that overides the document root in
> > httpd.conf ?? , also i have checked the permission on
> > home/httpd/html and they are all ok , apologies if
> > this is inappropiate posting, thank-you in advance
> >
> > ____________________________________________________________
> > Do You Yahoo!?
> > Get your free at domain yahoo.co.uk address at http://mail.yahoo.co.uk
> > or your free at domain yahoo.ie address at http://mail.yahoo.ie
> >
> > --
> > Irish Linux Users' Group: ilug at domain linux.ie
> > http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
> > information.
> > List maintainer: listmaster at domain linux.ie
> **********************************************************************
> This e-mail and any attachment contains information which is private
> and confidential and is intended for the addressee only.
> If you are not an addressee, you are not authorised to read, copy or
> use the e-mail or any attachment.
> If you have received this e-mail in error, please notify the sender
> by return e-mail and then destroy it.
> **********************************************************************
>
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at domain skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:50 GMT