Start a new topic

add option to enable http rewrite to https

provide checkbox in configuration that allows automatic rewriting of http to https

do this by:

1. a2enmod rewrite

2. edit httpd.conf to include

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Also would be good to provide checkbox to enable SSL on 443 as well by modifying /etc/apache2/sites-enabled/bluecherry to:

NameVirtualHost *:7001

Listen 7001

ServerAdmin webmaster@localhost

DocumentRoot /usr/share

...

1 Comment

bluecherry web server only allows https on port 7001

this allows external access to web client using standard http URL (port 80) without having to use custom port 7001 NAT

i.e. (http://myhome.me.com can be used externally to access web client instead of https://myhome.me.com:7001

Additionally a firewall port mapping of (443->7001) allows https://myhome.me.com instead of https://myhome.me.com:7001

these are much more convenient for external clients - especially mobile clients

Login or Signup to post a comment