Changes

From SME Server
Jump to navigationJump to search
318 bytes added ,  17:55, 11 November 2013
Line 50: Line 50:  
  RewriteRule ^/'''ibayname''' <nowiki>https://%{HTTP_HOST}/</nowiki>'''ibayname'''
 
  RewriteRule ^/'''ibayname''' <nowiki>https://%{HTTP_HOST}/</nowiki>'''ibayname'''
 
   
 
   
 +
## End Of Redirect
 +
HERE
 +
}
 +
}
 +
 +
Or this is an alternative if the solution above doesn't work
 +
 +
{
 +
if ($port ne "443")
 +
{
 +
$OUT .= <<'HERE';
 +
# Redirect transmission Address to Secure Address
 +
RewriteEngine On
 +
RewriteCond %{HTTPS} off
 +
RewriteRule /transmission <nowiki>https://%{HTTP_HOST}:443/transmission</nowiki>
 
  ## End Of Redirect
 
  ## End Of Redirect
 
  HERE
 
  HERE

Navigation menu