Thank you! I finally got it to work. I now have the following php rpms installed:
# rpm -qa | grep php
php-5.3.3-26.el6.x86_64
php-cli-5.3.3-26.el6.x86_64
php-common-5.3.3-26.el6.x86_64
Search found 7 matches
- Wed Feb 25, 2015 3:49 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios apache web configuration
- Replies: 13
- Views: 26179
- Wed Feb 25, 2015 3:38 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios apache web configuration
- Replies: 13
- Views: 26179
Re: Nagios apache web configuration
I think the issue may be that I don't have php installed on my system. The command:
rpm -qa | grep -i php
returns nothing. What rpm packages should I have installed for php?
rpm -qa | grep -i php
returns nothing. What rpm packages should I have installed for php?
- Wed Feb 25, 2015 3:11 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios apache web configuration
- Replies: 13
- Views: 26179
Re: Nagios apache web configuration
I ran those commands: echo "DirectoryIndex index.php" > /usr/local/nagios/share/.htaccess chown apache /usr/local/nagios/share/.htaccess and service httpd restart but I still don't have access to http://localhost/nagios/ Note that when I copied an index.html to /usr/local/nagios/share/ and...
- Wed Feb 25, 2015 2:13 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios apache web configuration
- Replies: 13
- Views: 26179
Re: Nagios apache web configuration
# grep -Ri directoryindex /etc/httpd/*
/etc/httpd/conf/httpd.conf:# DirectoryIndex: sets the file that Apache will serve if a directory
/etc/httpd/conf/httpd.conf:DirectoryIndex index.html index.html.var
Binary file /etc/httpd/modules/mod_dir.so matches
Thank you,
Peter
/etc/httpd/conf/httpd.conf:# DirectoryIndex: sets the file that Apache will serve if a directory
/etc/httpd/conf/httpd.conf:DirectoryIndex index.html index.html.var
Binary file /etc/httpd/modules/mod_dir.so matches
Thank you,
Peter
- Wed Feb 25, 2015 12:06 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios apache web configuration
- Replies: 13
- Views: 26179
Re: Nagios apache web configuration
OK, I changed the settings in /etc/httpd/conf.d/nagios.conf for the nagios share back to: Alias /nagios "/usr/local/nagios/share" <Directory "/usr/local/nagios/share"> # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from a...
- Wed Feb 25, 2015 11:25 am
- Forum: Open Source Nagios Projects
- Topic: Nagios apache web configuration
- Replies: 13
- Views: 26179
Re: Nagios apache web configuration
Thank you for the responses. However, the file /usr/local/nagios/etc/htpasswd.users did exist. Also, I think I had already run the following command before: htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin Anyway, I ran this command again and restarted the apache web service with the com...
- Tue Feb 24, 2015 7:50 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios apache web configuration
- Replies: 13
- Views: 26179
Nagios apache web configuration
Today I installed nagios core version 4.0.8 on a RHEL 6 machine. I followed the installation instructions at http://nagios.sourceforge.net/docs/nagioscore/4/en/quickstart-fedora.html. However, when I try to access the website at http://localhost/nagios, I get the following error message: You don't h...