Project

Contents

Issue #00005582

Virtual-Host: added option to redirect to default host and/or to force SSL
Feature/Improvement

If you have aliases for a virtual host you often want to redirect all request to the default host. This typically is done via redirects in apache:

RewriteCond %{HTTP_HOST} !^www.innovationgate.com$
RewriteRule ^.*$ https://www.innovationgate.com%{REQUEST_URI}

The same is true for SSL-enforcement. This also typically is done via apache redirects:

RewriteEngine on  
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Very often this two redirects are the only reason the configure a v-host in apache at all.

Both function are now available in OpenWGA directly. No more need for apache rules.