Hey guys,
Ok - I tried running the getenforce/setenforce 0 commands and restarted
icinga and apache and got the same result.
Apache is installed in /usr/apache/icinga and I installed icinga in
/usr/apache/icinga/icinga_baseDir. Afterwards, I ran a chown -R
icinga:icinga /usr/apache/icinga so that I shouldn't have any perms
issues, but you never know. I'll give you a couple directories after
the apache code posting.
So, here's some apache code for ya:
I'm setting apache's user/group for this instance as icinga:
User icinga
Group icinga
I comment out Options Indexes FollowSymLinks as it shouldn't be needed I
don't think:
#Options Indexes FollowSymLinks
AllowOverride options are set to FileInfo Options just in case:
AllowOverride FileInfo Options
I have php installed and Directory Index Line is index.html and
index.php:
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
Here's the directory definition for cgi:
<Directory "/usr/apache/icinga/cgi-bin">
#AllowOverride None
#Options None
#Order allow,deny
#Allow from all
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
I added the php types:
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
Included the icinga.conf and gave direction to php.ini:
Include conf/icinga.conf
PHPIniDir /usr/php/icinga/etc
That's about all the changes I made versus a normal httpd.conf file
aside from Listen IP & ServerName, etc.
The icinga.conf is the auto-gen'd icinga.conf file right now. I can
send that if you like as well.
Here's some directory permissions for you:
/usr/apache/icinga/icinga_baseDir:
drwxrwxr-x 2 icinga icinga 4096 Nov 17 09:43 bin
drwxrwxr-x 3 icinga icinga 4096 Nov 17 15:48 etc
drwxrwxr-x 2 icinga icinga 4096 Nov 17 09:43 libexec
drwxrwxr-x 2 icinga icinga 4096 Nov 17 09:43 sbin
drwxrwxr-x 10 icinga icinga 4096 Nov 17 09:43 share
drwxrwxr-x 5 icinga icinga 4096 Nov 17 16:39 var
/usr/apache/icinga/icinga_baseDir/sbin:
-rwxrwxr-x 1 icinga icinga 250572 Nov 17 09:43 avail.cgi
-rwxrwxr-x 1 icinga icinga 239960 Nov 17 09:43 cmd.cgi
-rwxrwxr-x 1 icinga icinga 221836 Nov 17 09:43 config.cgi
-rwxrwxr-x 1 icinga icinga 271020 Nov 17 09:43 extinfo.cgi
-rwxrwxr-x 1 icinga icinga 216940 Nov 17 09:43 histogram.cgi
-rwxrwxr-x 1 icinga icinga 198732 Nov 17 09:43 history.cgi
-rwxrwxr-x 1 icinga icinga 196684 Nov 17 09:43 notifications.cgi
-rwxrwxr-x 1 icinga icinga 193164 Nov 17 09:43 outages.cgi
-rwxrwxr-x 1 icinga icinga 194284 Nov 17 09:43 showlog.cgi
-rwxrwxr-x 1 icinga icinga 266924 Nov 17 09:43 status.cgi
-rwxrwxr-x 1 icinga icinga 209036 Nov 17 09:43 statusmap.cgi
-rwxrwxr-x 1 icinga icinga 209580 Nov 17 09:43 statuswml.cgi
-rwxrwxr-x 1 icinga icinga 197292 Nov 17 09:43 statuswrl.cgi
-rwxrwxr-x 1 icinga icinga 217804 Nov 17 09:43 summary.cgi
-rwxrwxr-x 1 icinga icinga 207148 Nov 17 09:43 tac.cgi
-rwxrwxr-x 1 icinga icinga 217964 Nov 17 09:43 trends.cgi
I can give you guys more if you want - I really appreciate the help!
Missy
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users