diff --git a/httpd.conf.dist b/httpd.conf.dist
index b8978171107..bed3039ea9e 100644
--- a/httpd.conf.dist
+++ b/httpd.conf.dist
@@ -26,8 +26,8 @@
Auth_MySQL_Password_Table llx_user
Auth_MySQL_Username_Field login
Auth_MySQL_Password_Field pass
- Auth_MySQL_Encryption_Types Crypt_DES
- Auth_MySQL_Encrypted_Passwords off
+ Auth_MySQL_Encryption_Types Plaintext Crypt_DES
+# Auth_MySQL_Encrypted_Passwords off
AuthName "Dolibarr"
require valid-user
@@ -41,4 +41,31 @@
Allow from all
-
\ No newline at end of file
+
+ Options Indexes FollowSymLinks
+ AllowOverride All
+ Order deny,allow
+ Allow from all
+
+
+
+ Options Indexes FollowSymLinks
+ AllowOverride All
+ Order deny,allow
+ Deny from all
+
+ AuthType Basic
+ Auth_MySQL_Authoritative on
+ Auth_MySQL_DB dolibarr
+ Auth_MySQL_Password_Table llx_adherent
+ Auth_MySQL_Username_Field login
+ Auth_MySQL_Password_Field pass
+ Auth_MySQL_Encryption_Types Plaintext Crypt_DES
+# Auth_MySQL_Encrypted_Passwords off
+ AuthName "Adherents"
+
+ require valid-user
+ satisfy any
+
+
+