Password Protect

From John Freier
Revision as of 15:05, 27 April 2010 by Jfreier (Talk | contribs) (Created page with 'Create new .htaccess file, and use the following example below. AuthUserFile /var/www/html/private/.htpasswd AuthGroupFile /dev/null AuthName "My Private Directory" AuthType...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Create new .htaccess file, and use the following example below.

AuthUserFile /var/www/html/private/.htpasswd
AuthGroupFile /dev/null
AuthName "My Private Directory"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>