[Koha] http to https

Barry Cannon bar at interleaf.ie
Wed May 11 22:43:10 NZST 2016


Hi,
You can create a port 80 VirtualHost and add the lines below to it. Then, create a port 443 VirtualHost with the correct config. Be mindful of the ServerName entry too.

You will need to enable "rewrite" too - "a2enmod rewrite". 

RewriteEngine   on
RewriteCond     %{SERVER_PORT} ^80$
RewriteRule     ^(.*)$ https://%{SERVER_NAME}$1 [L,R]

Hope this helps.


Regards
Barry Cannon
Interleaf Technology
http://www.interleaf.ie
Tel: +35312865855
Email: bc at interleaf.ie
Skype: bar.cannon

________________________________________
From: Koha [koha-bounces at lists.katipo.co.nz] on behalf of vinod kumar [vinod.kumar.trf at gmail.com]
Sent: 11 May 2016 11:30
To: koha at lists.katipo.co.nz
Subject: [Koha] http to https

Dear All

How to *http to https redirect in apache2  *
_______________________________________________
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list