/ Published in: Apache

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Directory Authentication AuthType Basic AuthName "Directory Authentication" AuthUserFile /path/to/.htpasswd # find path with <?php echo dirname(__FILE__); ?> Require valid-user
Comments
