sub-directory

Password protect Parent and Allow subdirectory using .htaccess

Tags: .htaccessparentpassword protectsub-directory

Published on : September 24, 2009 by

Password protect Parent and Allow subdirectory  using .htaccess

To  password protect a directory htaccess password protect rules can be added in the directory AuthUserFile /path/to/.htpasswd AuthName “This is Hasten secret area” AuthType Basic require valid-user To create .htpasswd file  use the following command htpasswd -c .htpasswd  <user> You will be prompted for password . Once it is done, the file will be created. […]

Continue Reading...


Let's Connect

Get new updates

Categories

$0.000 items