parent
35350ecaba
commit
80cdb0193d
1 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@ |
||||
{ |
||||
my $sslport = $modSSL{'TCPPort'} || '443'; |
||||
my $status = $dl{'status'} || 'enabled'; |
||||
my $alias = $dl{'AliasOnPrimary'} || 'enabled'; |
||||
|
||||
if (($port ne $sslport) && ($status eq 'enabled') && ($alias eq 'enabled')){ |
||||
$OUT .= " RewriteEngine on\n"; |
||||
$OUT .= " RewriteRule ^/dl(/.*|\$) https://%{HTTP_HOST}/dl\$1 \[L,R\]\n"; |
||||
} |
||||
} |
Loading…
Reference in new issue