Changes

From SME Server
Jump to navigationJump to search
887 bytes removed ,  23:07, 18 November 2013
no edit summary
Line 83: Line 83:  
save by ctrl+x
 
save by ctrl+x
   −
{{Note box|Since with SME Server 8.0 it lacks some apache modules to authenticate users, we have to  add them manually.}}
+
{{Note box|msg= in according with [[bugzilla:7871]] the following apache modules are already loaded ( auth_basic authn_file authz_groupfile), you do not need to add them by a custom template}}
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
  −
sv t /service/httpd-e-smith
  −
 
  −
It is recommended practise to check that the service has started and is running, so do
  −
sv s /service/httpd-e-smith
  −
 
   
===== Password file creation =====
 
===== Password file creation =====
   Line 170: Line 151:  
(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)
   −
{{Note box|Since with SME Server 8.0 it lacks some apache modules to authenticate users, we have to  add them manually.}}
+
{{Note box|msg= in according with [[bugzilla:7871]] the following apache modules are already loaded ( auth_basic authn_file authz_groupfile), you do not need to add them by a custom template}}
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
  −
sv t /service/httpd-e-smith
  −
sv s /service/httpd-e-smith
      
==== Procedure - authentication against specified sme users ====
 
==== Procedure - authentication against specified sme users ====
Line 216: Line 181:  
(where admin, smeusername1, smeusername2 etc are valid users on the sme server)
 
(where admin, smeusername1, smeusername2 etc are valid users on the sme server)
   −
{{Note box|Since with SME Server 8.0 it lacks some apache modules to authenticate users, we have to  add them manually.}}
+
{{Note box|msg= in according with [[bugzilla:7871]] the following apache modules are already loaded ( auth_basic authn_file authz_groupfile), you do not need to add them by a custom template}}
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
  −
sv t /service/httpd-e-smith
  −
sv s /service/httpd-e-smith
      
==== Procedure - authentication against groups ====
 
==== Procedure - authentication against groups ====

Navigation menu