Directories protection. Technical details (ISPmanager)

From ISPWiki

Jump to: navigation, search

When set up protection for a directory, the .htaccess file is created (if it doesn't exist) in the directory. It contains the following information:

AuthType Basic AuthName "directory" AuthUserFile password_file <Limit GET POST> require valid-users </Limit>

The passwords file is located in the /default_home_dir/site_name/etc directory and is named XXXXXX.passwd pattern, where XXXXXX is any sequence of symbols.

More information about Apache authorization can be found here.

Was this helpful? Yes | No
Personal tools