First create .htpasswd file for allowed users. You can create .htpasswd file using one of the following ways: By using command line htpasswd [-m | -d | -s | -p] /path/to/passwdfile/ <username> Above command will prompt for password. Given password will be assigned to <username> -m : Use MD5 encryption for passwords -d : Use [...]
Posts Tagged ‘htpasswd’
20 Nov
HTACCESS useful tricks
Apache Configuration Apache web servers have two main places for configuration information: httpd Config files (httpd.conf) Per-directory .htaccess files Usually only the administrators of a server have access to the httpd config files. Individual users are able to place .htaccess files in their individual directories in order to override the options in the httpd config [...]
