1. Закрыть директорию паролем:
require valid-user
Authname “DirectoryName”
Authtype Basic
AuthUserFile “/path/to/.htpasswd”
2. Закрыть файл паролем:
require valid-user
Authname “DirectoryName”
Authtype Basic
AuthUserFile “/path/to/.htpasswd”
1. Закрыть директорию паролем:
require valid-user
Authname “DirectoryName”
Authtype Basic
AuthUserFile “/path/to/.htpasswd”
2. Закрыть файл паролем:
require valid-user
Authname “DirectoryName”
Authtype Basic
AuthUserFile “/path/to/.htpasswd”