thephuc/privi/master/.htaccess - Htaccess File

thephuc/privi/master/.htaccess

# Apache Server Configs v2.14.0 | MIT License
# https://github.com/h5bp/server-configs-apache

# (!) Using `.htaccess` files slows down Apache, therefore, if you have
# access to the main server configuration file (which is usually called
# `httpd.conf`), you should add this logic there.
#
# https://httpd.apache.org/docs/current/howto/htaccess.html.

# password protect
AuthType Basic
AuthName "restricted area"
AuthUserFile /var/www/html/privi/.htpasswd
Require valid-user

On Github License

Files

Download PDF of Htaccess file

Comments

Apache