rajout d'une clause d'authentification pour la partie privee des adherents

This commit is contained in:
jlb
2003-01-13 22:59:53 +00:00
parent 8aa28ec99b
commit cb6ea9a2f8

View File

@@ -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
</Location>
</VirtualHost>
<Location /adherents/public/>
Options Indexes FollowSymLinks
AllowOverride All
Order deny,allow
Allow from all
</Location>
<Location /adherents/private/>
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
</Location>
</VirtualHost>