Hi all,
I have upgraded from Apache 2.2 to Apache 2.4. Now I get problems with SmokePing, Nagios 4 and Cacti. I have read change of access for Apache 2.4. Can anybody see any problem with my httpd.conf? I have no errors when run
//Jan
I have upgraded from Apache 2.2 to Apache 2.4. Now I get problems with SmokePing, Nagios 4 and Cacti. I have read change of access for Apache 2.4. Can anybody see any problem with my httpd.conf? I have no errors when run
apachectl restart
.//Jan
Code:
ScriptAlias /smokeping.fcgi /usr/local/smokeping/htdocs/smokeping.fcgi
# ScriptAlias /tr.cgi /usr/local/smokeping/htdocs/tr.cgi
Alias /img /usr/local/smokeping/htdocs/img
<Directory "/usr/local/smokeping/htdocs">
AllowOverride None
# Order allow,deny
# Allow from all
Require all granted
</Directory>
<Directory "/usr/local/www/apache22/data/smokeping">
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>
<Directory /usr/local/www/nagios>
# Options +Indexes FollowSymLinks +ExecCGI
AllowOverride Indexes AuthConfig FileInfo
# Order allow,deny
# Allow from all
Require all granted
AuthName "Nagios Access"
AuthType Basic
AuthUSerFile /usr/local/etc/nagios/htpasswd.users
Require valid-user
</Directory>
<Directory /usr/local/www/nagios>
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
Require all granted
php_flag engine on
php_admin_value open_basedir /usr/local/www/nagios/:/var/spool/nagios/
</Directory>
<Directory /usr/local/www/nagios/cgi-bin>
Options ExecCGI
</Directory>
ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/
Alias /nagios/ /usr/local/www/nagios/
<Directory "ScriptAlias /nagios/cgi-bin">
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>
<Directory /usr/local/share/cacti>
AllowOverride None
# Order Allow,deny
Require all granted
# Allow from all
</Directory>
Alias /cacti /usr/local/share/cacti/