August 27, 2004

NAGIOS SSL working properly

I tweaked the Apache config on the monitor box until I got SSL working properly.

I want SSL forced (redirected via mod_rewrite) on the NAGIOS portion of the server, but not on the Cricket portion. The right thing turns out to be a RewrtieRule that looks like this:

RewriteRule ^/nagios(.*)$ https://%{SERVER_NAME}/nagios$1 [R=permanent,L]

Such that it only catches for the /nagios location. Putting it inside a Location directive doesn’t work.

Posted by Rowan Littell at August 27, 2004 10:06 AM