rajout d'une clause d'authentification pour la partie privee des adherents
This commit is contained in:
parent
8aa28ec99b
commit
cb6ea9a2f8
@ -26,8 +26,8 @@
|
|||||||
Auth_MySQL_Password_Table llx_user
|
Auth_MySQL_Password_Table llx_user
|
||||||
Auth_MySQL_Username_Field login
|
Auth_MySQL_Username_Field login
|
||||||
Auth_MySQL_Password_Field pass
|
Auth_MySQL_Password_Field pass
|
||||||
Auth_MySQL_Encryption_Types Crypt_DES
|
Auth_MySQL_Encryption_Types Plaintext Crypt_DES
|
||||||
Auth_MySQL_Encrypted_Passwords off
|
# Auth_MySQL_Encrypted_Passwords off
|
||||||
AuthName "Dolibarr"
|
AuthName "Dolibarr"
|
||||||
|
|
||||||
require valid-user
|
require valid-user
|
||||||
@ -41,4 +41,31 @@
|
|||||||
Allow from all
|
Allow from all
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
|
<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>
|
</VirtualHost>
|
||||||
Loading…
Reference in New Issue
Block a user