Find the answer to your Linux question:
Results 1 to 3 of 3
I download and install httpd-2.2.4.tar.gz. Then I install nagios. In my other server, http is installed via RPM. Now, I'm installing it using source. Problem is it saying 403 Forbidden. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Mar 2006
    Posts
    101

    Permission denied in apache


    I download and install httpd-2.2.4.tar.gz. Then I install nagios. In my other server, http is installed via RPM. Now, I'm installing it using source.

    Problem is it saying 403 Forbidden. I check log of httpd and it says:
    Permission denied: access to /nagios/ denied

    html files are stored in share dir under nagios dir. Here is the permission:

    drwxrwxrwx 9 nagios apache 4096 May 19 13:15 share

    Is there a problem in my permission?

  2. #2
    Linux Newbie
    Join Date
    Nov 2004
    Location
    Glacier, WA
    Posts
    103
    Check the settings on the files in the directory, are they also 777?
    GlacierBill

    To stop learning is to stop living

  3. #3
    Linux Newbie
    Join Date
    Mar 2006
    Posts
    101
    Its ok now! I chmod 710 the dir /usr/local/nagios instead of /usr/local/nagios/share. Also make sure apache is on the group

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •