diff --git a/http/Provision/Config/Apache/vhost.tpl.php b/http/Provision/Config/Apache/vhost.tpl.php index 6ffe325168b9ffbf609b1e6a5591a58e6c8d4f0d..73b48192dbe7f19853c12b3f3f9be37955bbb6ff 100644 --- a/http/Provision/Config/Apache/vhost.tpl.php +++ b/http/Provision/Config/Apache/vhost.tpl.php @@ -45,11 +45,11 @@ if ($this->redirection || $ssl_redirection) { print " RewriteRule ^/*(.*)$ https://%{HTTP_HOST}/$1 [NE,L,R=301]\n"; } elseif ($ssl_redirection && $this->redirection) { - print " # Redirect all aliases + main uri to the main https uri.\n"; + print " # Redirect all aliases + main uri to the selected alias https uri.\n"; print " RewriteRule ^/*(.*)$ https://{$this->redirection}/$1 [NE,L,R=301]\n"; } elseif (!$ssl_redirection && $this->redirection) { - print " # Redirect all aliases to the main http url.\n"; + print " # Redirect all aliases to the selected alias.\n"; print " RewriteCond %{HTTP_HOST} !^{$this->redirection}$ [NC]\n"; print " RewriteRule ^/*(.*)$ http://{$this->redirection}/$1 [NE,L,R=301]\n"; }