Hi Sarah,

We use the following vhost config in apache to redirect any HTTP requests to HTTPS:


---
<VirtualHost _default_:80>
        ServerAdmin moni...@mydomain.com
        DocumentRoot /var/www/html

        #####
        # Forward all HTTP traffic to HTTPS
        RewriteEngine On
        RewriteRule ^(.*)$  https://%{SERVER_NAME}$1 [R=301,L]
        # End section for forwarding HTTP traffic to HTTPS
        #####

</VirtualHost>
---



On 8/08/13 8:45 AM, Schmiechen, Sarah wrote:
Hello,

I've implemented LDAP password authentication for my icinga-web instance, and want to force communication with SSL. I tried following the instructions here:

http://docs.icinga.org/latest/en/cgisecurity.html

About adding SSLRequreSSL, and that worked fine, but I also want to redirect from http to https, and from what I understand, I need to turn back off SSLRequireSSL and use a RewriteRule instead -- has anyone done this? Or used a different approach? There are a couple of RewriteRules already in icinga-web.conf and I'm not sure how a new rule will interact -- my attempts so far have been fruitless.

Thanks,
Sarah


--
SWAMP Developer, High Throughput Computing Group
Indiana University Research Technologies division of UITS; Research Technologies is a PTI Cyberinfrastructure & Service Center.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk


_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to