mon hébergeur propose le service du mots de passe lui même.
il explique les étapes suivantes, mais contcètement, comment faire avec iweb??????
You can protect specific parts of your webspace using .htaccess.
Please use the following guide to protect parts of your webspace.
Please follow the instructions below below completing the final step of your .htaccess protection
Open Notepad or any text editor
Copy the text from below and insert into your editor
Save the file as ".htpasswd" (with out "" and with no extension)
Upload the file in to the direcroty you decided to protect in the first step
.htpasswd file
Open Notepad or any text editor
Copy the text from below and insert into your editor
Save the file as ".htaccess" (with out "" and with no extension)
Upload the file in to the directory you decided to protect which is the same as the one with your .htpasswd file
htaccess_file
- Code: Tout sélectionner
AuthName "mdp"
AuthType Basic
AuthUserFile /customers/eyesonsport.com/eyesonsport.com/httpd.www/.htpasswd
AuthGroupFile /dev/null
require valid-user