Skip to content
Snippets Groups Projects
Commit 72f09e4b authored by mig5's avatar mig5 Committed by mig5
Browse files

#940816 - we don't need to depend on Aliases for SSL redirection. Presence of...

#940816 - we don't need to depend on Aliases for SSL redirection. Presence of alias redirection already implies aliases so doesn't need to be in the wider alias conditional
parent 7afbd0ce
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
<?php <?php
if (sizeof($this->aliases)) { if (sizeof($this->aliases)) {
print "\n ServerAlias " . implode("\n ServerAlias ", $this->aliases) . "\n"; print "\n ServerAlias " . implode("\n ServerAlias ", $this->aliases) . "\n";
}
if ($this->redirection || $ssl_redirection) { if ($this->redirection || $ssl_redirection) {
print " RewriteEngine on\n"; print " RewriteEngine on\n";
...@@ -41,7 +42,6 @@ if (sizeof($this->aliases)) { ...@@ -41,7 +42,6 @@ if (sizeof($this->aliases)) {
print " RewriteRule ^/*(.*)$ http://{$this->uri}/$1 [L,R=301]\n"; print " RewriteRule ^/*(.*)$ http://{$this->uri}/$1 [L,R=301]\n";
} }
} }
}
?> ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment