Changes

From SME Server
Jump to navigationJump to search
771 bytes added ,  20:31, 2 October 2013
no edit summary
Line 173: Line 173:  
(the "valid-user" setting will allow any valid sme user to gain access)
 
(the "valid-user" setting will allow any valid sme user to gain access)
   −
then do
+
{{Note box|Since with SME Server 8.0 it lacks some apache modules to authenticate users, we have to  add them manually.}}
 +
nano /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule55
 +
 
 +
  #---- added for use of htaccess ----
 +
{
 +
    $OUT .= load_modules(qw(
 +
auth_basic
 +
authn_file
 +
authz_groupfile
 +
));
 +
}
 +
 
 +
save by ctrl+x and then do
    
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
Line 207: Line 219:  
(where admin, smeusername1, smeusername2 etc are valid users on the sme server)
 
(where admin, smeusername1, smeusername2 etc are valid users on the sme server)
   −
then do
+
{{Note box|Since with SME Server 8.0 it lacks some apache modules to authenticate users, we have to  add them manually.}}
 +
nano /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule55
 +
 
 +
  #---- added for use of htaccess ----
 +
{
 +
    $OUT .= load_modules(qw(
 +
auth_basic
 +
authn_file
 +
authz_groupfile
 +
));
 +
}
 +
 
 +
save by ctrl+x and then do
    
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
Line 244: Line 268:     
  rm /etc/passwordfilename
 
  rm /etc/passwordfilename
  rm /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf 50AddSecureIbayFolder
+
  rm /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/50AddSecureIbayFolder
 +
rm /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule55
 
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
 
  sv t /service/httpd-e-smith
 
  sv t /service/httpd-e-smith

Navigation menu