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@interleaf.ie Skype: bar.cannon ________________________________________ From: Koha [koha-bounces@lists.katipo.co.nz] on behalf of vinod kumar [vinod.kumar.trf@gmail.com] Sent: 11 May 2016 11:30 To: koha@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@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Hi Vinod This is not a Koha question. However a quick search showed me https://wiki.apache.org/httpd/RedirectSSL Chris On 11 May 2016 at 22:30, vinod kumar <vinod.kumar.trf@gmail.com> wrote:
Dear All
How to *http to https redirect in apache2 * _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
participants (3)
-
Barry Cannon -
Chris Cormack -
vinod kumar