Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:web:web-hosting:web-management:htaccess-file [2016/04/12 21:31]
jojo [Secure a directory with an authentication]
en:web:web-hosting:web-management:htaccess-file [2016/06/24 11:17]
127.0.0.1 external edit
Line 106: Line 106:
   ​   ​
 The "​PATH"​ will have to be replaced by: The "​PATH"​ will have to be replaced by:
-  * For the WEB hosting: ''/​flex/​storage/​DOMAIN.TLD/​site/​www/''​+  * For the WEB hosting: ''/​flex/​domain/​DOMAIN.TLD/​site/​www/''​
   * For the CLOUD hosting: ''/​var/​www/​DOMAIN.TLD/​www''​   * For the CLOUD hosting: ''/​var/​www/​DOMAIN.TLD/​www''​
  
Line 115: Line 115:
 If you have saved your users table in the directory /​www/​secret/​password/​ with the name '​mylist.txt',​ you need to change accordingly the directive <​nowiki>​AuthUserFile</​nowiki>: ​ If you have saved your users table in the directory /​www/​secret/​password/​ with the name '​mylist.txt',​ you need to change accordingly the directive <​nowiki>​AuthUserFile</​nowiki>: ​
  
-  AuthUserFile ​ /flex/storage/​DOMAIN.TLD/​site/​www/​secret/​password/​mylist.txt+  AuthUserFile ​ /flex/domain/​DOMAIN.TLD/​site/​www/​secret/​password/​mylist.txt
  
 The command "​require valid-user"​ authorizes all valid users to access the files in the folder. ​ The command "​require valid-user"​ authorizes all valid users to access the files in the folder. ​