November 2016

I use .htaccess to encrypt “” the .htaccess file is: AuthUserFile /home/.htpasswd AuthName “ceshiyonghu” AuthType Basic Require user ceshiyonghu but when I visited the url, I got a 500 internal server error. I checked the error log (/var/log/apache2/error.log) and find the “AuthUserFile not allowed here” record. To solve this, I added this: <Directory /var/www/test/> Options Indexes FollowSymLinks MultiViews […]