summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--http/Provision/Config/Apache/vhost.tpl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/http/Provision/Config/Apache/vhost.tpl.php b/http/Provision/Config/Apache/vhost.tpl.php
index 6ffe325..73b4819 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";
}