I'm trying to install icinga-web on a production apache vhost stack.

I have no access to http.conf, and Alias and AliasMatch are not allowed 
in .htaccess on our stack.

I've got the interface partly working using mod_rewrite and rewrite 
rules. The layout of the page is wrong and I'm getting session expired 
messages that persist even after I clear my browser cache and login again.

from icinga-web.conf as generated by make:

AliasMatch 
/icinga-web/modules/([A-Za-z0-9]*)/resources/styles/([A-Za-z0-9]*\.css)$ 
/home/vhosts/icinga.ece.wisc.edu/html/app/modules/$1/pub/styles/$2
AliasMatch 
/icinga-web/modules/([A-Za-z0-9]*)/resources/images/([A-Za-z_\-0-9]*\.(png|gif|jpg))$
 
/home/vhosts/icinga.ece.wisc.edu/html/app/modules/$1/pub/images/$2


Alias /icinga-web/js/ext3 /home/vhosts/icinga.ece.wisc.edu/html/lib/ext3
Alias /icinga-web /home/vhosts/icinga.ece.wisc.edu/html/pub

Since Alias doesn't work in .htaccess I have:

RewriteEngine on
RewriteRule 
icinga-web/modules/([A-Za-z0-9]*)/resources/styles/([A-Zaz0-9]*\.css)$ 
app/modules/$1/pub/styles/$2
RewriteRule 
icinga-web/modules/([A-Za-z0-9]*)/resources/images/([A-Zaz_\-0-9]*\.(png|gif|jpg))$
 
app/modules/$1/pub/images/$2
RewriteRule ^icinga-web/js/ext3(.*)$ lib/ext3$1
RewriteRule ^icinga-web(.*)$ pub$1 [L]
#RewriteRule ^(.*)$ pub$1 [L]

With the last rule commented out I can login to icinga.domain.edu/pub, 
or icinga.domain.edu/icinga-web but I get a session expired message that 
does not go away no matter how many times I click "OK". Several of the 
panes on the page display "Loading"

Enabling the last rule let's me login to icinga.domain.edu, but the page 
displays wrong, and I still get the session expired error.

 From testdeps.php I get one Fail in the optional section:

23/23 Test php.ini memory_limit ... (memory_limit='-1') FAIL

All over result: PASS (required 12/12, optional 10/11, all 22/23, time 
0.01s)

Exit (status=0)

Clearing app/cache/config and the browser cache doesn't seem to help.

The cgi interface works fine.

Thanks

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to