Page 3 of 3

Re: Nagios services configuration from Web UI.

Posted: Tue May 15, 2018 3:03 am
by rkennedy
Ravikimt wrote:Still I am facing same issue
Please share the files @scottwilkerson mentioned.
scottwilkerson wrote:Can you share your full httpd conf file for nagiosql because before you also had this in there that would block access

Code: Select all

Order deny,allow
Deny from all
Allow from 127.0.0.1
Also, when you trigger the request on the forbidden error - look at your apache logs as there should be an error related to it which may have a further reason.

Re: Nagios services configuration from Web UI.

Posted: Tue May 15, 2018 3:46 am
by martinQL
You currently have no problem with NagiosQL - you are not able to correctly configure your Apache webserver.

The Apache webserver may not be able to read the web files because the permissions are set incorrectly and the Apache user has no access.
https://wiki.apache.org/httpd/FileSystemPermissions
(https://en.wikipedia.org/wiki/File_system_permissions)

Which version of Apache do you use - 2.2 or 2.4. Here is some documentation for both versions - the access configuration are different!
Apache 2.2:
https://httpd.apache.org/docs/2.2/en/
https://httpd.apache.org/docs/2.2/howto/access.html

Apache 2.4:
https://httpd.apache.org/docs/2.4/en/
https://httpd.apache.org/docs/2.4/howto/access.html

Re: Nagios services configuration from Web UI.

Posted: Tue May 15, 2018 8:06 am
by scottwilkerson
scottwilkerson wrote:Can you share your full httpd conf file for nagiosql because before you also had this in there that would block access

Code: Select all

Order deny,allow
Deny from all
Allow from 127.0.0.1
I really need to see the above to be any assistance