Changes

Jump to navigation Jump to search
254 bytes added ,  04:48, 16 April 2018
no edit summary
Line 1: Line 1:  +
{{Note box|this is the default behaviour for SME since e-smith-ibays-2.4.0-10 has been released}}
 +
 
== https forced redirection using custom template ==
 
== https forced redirection using custom template ==
   Line 71: Line 73:  
  }
 
  }
 
  }
 
  }
      
Save the file & exit by Ctrl+x, then issue the following command  
 
Save the file & exit by Ctrl+x, then issue the following command  
Line 87: Line 88:     
* Alternatively if you want to force all http trafics to https, you can make a general rule like this.
 
* Alternatively if you want to force all http trafics to https, you can make a general rule like this.
 
+
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts
60all-httptohttps
+
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts
 +
nano 60all-httptohttps
    
  {
 
  {
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu