[SLUG] FC 4 apache installation trouble

2005-07-04 Thread pesoy misak
Dear Slugger

I just installed apache 2 that is shipped with FC 4
disc.
all the installation was fine and can access the
http://localhost displaying noindex.html.

problem:

when i dropped a directory under the /var/www/html/xxx
when i access in the http://localhost/xxx 

error 403 /xxx access denied

already changed permission also the error_logs said
that xxx directory is denied 

and also this happening with home user public_html 
I can't access anything with public_html with a proper
permission

any hints

many thanks in advance





 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] FC 4 apache installation trouble

2005-07-04 Thread Michael Lake

pesoy misak wrote:

I just installed apache 2 that is shipped with FC 4
disc.
when i dropped a directory under the /var/www/html/xxx
when i access in the http://localhost/xxx 
error 403 /xxx access denied

already changed permission also the error_logs said
that xxx directory is denied 


The directory xxx must be able to be 'entered' by the web server for it 
to read the contents.


So if the directory is say owned by root:root it will need permissions 
like drwxr-xr-x so that 'others' i.e. apache can read and enter the 
directory.


If the directory is owned by say root:www and apache runs as user www 
then the directory permissions can be drwxr-xr--


A good way to see if apache can read the directory is to become root 
then su to the owner that apache runs as. If apache runs as www then

# su - www
$

Now try and change directory and see if you are 'let in' when you cd xxx
Bet you aren't :-)

Mike
--
Michael Lake
Chemistry, Materials  Forensic Science, UTS
Ph: 9514 1725 Fx: 9514 1460
[pls ignore idiot lawyer's msg below]



--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


FW: [SLUG] FC 4 apache installation trouble

2005-07-04 Thread Phill
Have you disabled SELinux for httpd. I had some issues with apache until
this was done

Regards,
Phill O'Flynn


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Michael Lake
Sent: Monday, 4 July 2005 5:41 PM
To: slug@slug.org.au
Subject: Re: [SLUG] FC 4 apache installation trouble

pesoy misak wrote:
 I just installed apache 2 that is shipped with FC 4
 disc.
 when i dropped a directory under the /var/www/html/xxx
 when i access in the http://localhost/xxx
 error 403 /xxx access denied
 already changed permission also the error_logs said
 that xxx directory is denied

The directory xxx must be able to be 'entered' by the web server for it
to read the contents.

So if the directory is say owned by root:root it will need permissions
like drwxr-xr-x so that 'others' i.e. apache can read and enter the
directory.

If the directory is owned by say root:www and apache runs as user www
then the directory permissions can be drwxr-xr--

A good way to see if apache can read the directory is to become root
then su to the owner that apache runs as. If apache runs as www then
# su - www
$

Now try and change directory and see if you are 'let in' when you cd xxx
Bet you aren't :-)

Mike
--
Michael Lake
Chemistry, Materials  Forensic Science, UTS
Ph: 9514 1725 Fx: 9514 1460
[pls ignore idiot lawyer's msg below]



--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may
contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If
you have received this message in error, please notify the sender
immediately
and delete this message. Any views expressed in this message are those of
the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


smime.p7s
Description: S/MIME cryptographic signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html