Changes

From SME Server
Jump to navigationJump to search
29 bytes added ,  23:45, 27 October 2013
Line 152: Line 152:  
===Webserver templates===
 
===Webserver templates===
   −
* The alias fragment tailored to suit the application
+
====The alias fragment tailored to suit the application====
    
root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92foo
 
root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92foo
Line 241: Line 241:  
  }
 
  }
   −
* a hack to get https to work, a better solution is required, you can see [[Https_redirection]]
+
====Https_redirection====
 +
*a hack to get https to work, a better solution is required, you can see [[Https_redirection]]
    
root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30FooAlias
 
root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30FooAlias
Line 256: Line 257:  
  }
 
  }
   −
**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 280: Line 281:  
  }
 
  }
 
   
 
   
**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.
+
*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 .= "<Directory /opt/foo>\n";

Navigation menu