Fix a typo which prevent transparent SSL redirection
This commit is contained in:
parent
c4bfa66ebe
commit
9e87529ca8
|
@ -8,7 +8,7 @@ if (($port ne $sslport) && ($requiressl !~ m/^(enabled|yes|on)$/i) && ($alias ne
|
|||
## Redirect Web Address to Secure Address
|
||||
$OUT .= " RewriteEngine on\n";
|
||||
$OUT .= " RewriteCond %{QUERY_STRING} do=login\n" if ($requiressl eq 'login');
|
||||
$OUT .= " RewriteRule ^/dokuwwiki(/.*|\$) https://%{HTTP_HOST}/dokuwiki\$1 \[L,R\]\n";
|
||||
$OUT .= " RewriteRule ^/dokuwiki(/.*|\$) https://%{HTTP_HOST}/dokuwiki\$1 \[L,R\]\n";
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue