Hello again,
so I got it working this way:
Zen :
- Create http farm
- One service sending all traffic to web servers port 81
Webserver:
Created a special config on port 81:
Listen 81
<VirtualHost *:81>
ServerAdmin t...@mobistep.com
RewriteEngine On
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
</VirtualHost>
Explaination:
- Port 80 il already used on apache with lot of sites (virtual host),
- Using a different port allow to rewrite unconditionally
- I can't use the redirect feature of Zen, as it hides the url called in
the first place
- no SSL on Apache (SSL offoading), so can't use much logic here.
I could have used the default virtualhost on port 80 to do the redirect,
but with SSL offloading, a missing site would end up in an infinite
redirect loop
Thanks to all for helping
Cordialement,
Mathieu CHATEAU
http://www.lotp.fr
2015-05-11 20:28 GMT+02:00 Marco Tiggelaar - Key4ce <m.tiggel...@key4ce.com>
:
> Well yeah, if you got a proxy in between ( no matter which) you can
> generally apply the rewrite script on proxy level rather then webserver
> level.
>
>
>
> Either way just rewriting a generic port 80 to ssl doesn’t take too much
> effort aslong as bindings match up to it J
>
>
>
> *With Kind Regards,*
> Marco Tiggelaar
>
> *CEO at Key4ce*
>
> [image: Key4ce - IT Professionals] <https://key4ce.com/>
>
> *Skype:* Key4ce
> *xmpp:* m.tiggel...@im4ce.com
> *Livechat:* https://livechat.key4ce.com
>
> *24/ 7 Support*
> *UK:* +44 (0)1332 898 999
> supp...@key4ce.com
>
>
>
> *From:* Mathieu Chateau [mailto:mathieu.chat...@lotp.fr]
> *Sent:* dinsdag 12 mei 2015 02:25
>
> *To:* zenloadbalancer-support
> *Subject:* Re: [Zenloadbalancer-support] Generic redirect http to https
>
>
>
> I am doing SSL offloading, so all my site are on port 80 from apache point
> of view.
>
>
>
> You put me on the good track I think, i could juste create a site
> listening on custom port, so it's not SSL neither port 80.
>
> Then do a mod_rewrite to arbitrary send on https
>
>
>
> I will try and post back
>
>
>
>
>
> Regards,
> Mathieu CHATEAU
> http://www.lotp.fr
>
>
>
> 2015-05-11 20:13 GMT+02:00 Marco Tiggelaar - Key4ce <
> m.tiggel...@key4ce.com>:
>
> Seems my mail was kept in moderation due to diff domain extension so let
> me post it again now I subscribed with right mail domain:
>
>
>
> Why not make a site * 80 à url rewrite script to replace http to https?
>
> Only thing to make sure then is that the sites them selfs don’t have a
> port 80 binding (which you can find + remove in the application host file).
>
>
>
> *With Kind Regards,*
> Marco Tiggelaar
>
> *CEO at Key4ce*
>
> [image: Key4ce - IT Professionals] <https://key4ce.com/>
>
> *Skype:* Key4ce
> *xmpp:* m.tiggel...@im4ce.com
> *Livechat:* https://livechat.key4ce.com
>
> *24/ 7 Support*
> *UK:* +44 (0)1332 898 999 <%2B44%20%280%291332%20898%20999>
> supp...@key4ce.com
>
>
>
> *From:* Mathieu Chateau [mailto:mathieu.chat...@lotp.fr]
> *Sent:* dinsdag 12 mei 2015 01:47
> *To:* zenloadbalancer-support
> *Subject:* Re: [Zenloadbalancer-support] Generic redirect http to https
>
>
>
> Hello,
>
>
>
> yes, i already saw your blog. Thing is I do have a lot of website, and do
> not want to maintain one by one.
>
>
>
> Weird, with IIS + ARR it's really easy to do that :'(
>
>
>
> Thanks for helping anyway :)
>
>
>
>
> Cordialement,
> Mathieu CHATEAU
> http://www.lotp.fr
>
>
>
> 2015-05-11 19:40 GMT+02:00 Justin Bennett <jbenn...@msjc.edu>:
>
> I had created some simple instructions on how to do this.
>
>
> http://justin-bennett-msjc.blogspot.com/2014/10/create-http-to-https-redirect-with-zen.html
>
>
>
> -Justin
>
>
>
> *From:* Mathieu Chateau [mailto:mathieu.chat...@lotp.fr]
> *Sent:* Monday, May 4, 2015 12:24 PM
> *To:* zenloadbalancer-support
> *Subject:* [Zenloadbalancer-support] Generic redirect http to https
>
>
>
> Hello,
>
>
>
> I couldn't find a smart way, so i am asking on the list.
>
> Need:
>
> - I want to redirect all sites from http to https, so only https is
> used. Just need to redirect, as users won't think about putting https://
>
>
>
> Remarks:
>
> - I do not want to add every sites to the http listener to make
> redirection
> - WebServers are using SSL offloading, so no logic can be put there
> - I would like to keep url if possible (like /login) while
> redirecting, but not mandatory
>
>
>
> I looked at pound doc without findings.
>
>
>
>
>
> Regards,
>
> Mathieu CHATEAU
> http://www.lotp.fr
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Zenloadbalancer-support mailing list
> Zenloadbalancer-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Zenloadbalancer-support mailing list
> Zenloadbalancer-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Zenloadbalancer-support mailing list
> Zenloadbalancer-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Zenloadbalancer-support mailing list
Zenloadbalancer-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support