Changes

From SME Server
Jump to navigationJump to search
316 bytes added ,  23:41, 27 October 2013
Line 256: Line 256:  
  }
 
  }
   −
or this solution which does the automatic redirection to https protocol, you have to choose either 30FooAlias or 60FooAlias but not both.
+
**or this solution which does the automatic redirection to https protocol, you have to choose either 30FooAlias or 60FooAlias but not both.
    
root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/60FooAlias
 
root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/60FooAlias
Line 279: Line 279:  
   
 
   
 
  }
 
  }
 +
 +
**To enforce the security you can decide to prohibit all connexions which are not https. You need to add "SSLRequireSSL" in the 92foo template in the correct position.
 +
 +
      $OUT .= "<Directory /opt/foo>\n";
 +
      '''$OUT .= "    SSLRequireSSL\n";'''
 +
      $OUT .= "    AddType application/x-httpd-php .php\n";
    
===System file templates===
 
===System file templates===

Navigation menu