My home directory is: opt/lampp/htdocs
I made a file: .htpasswd with this:
- Code: Select all
user1:0.S9.iQIhYTWBY
user2:8vjUaROTxrEtzk
And i put in /opt/lampp/htdocs/stats
Now i made a file: .htaccess with this:
- Code: Select all
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /stats/.htpasswd
AuthGroupFile /dev/null
require valid-user
And i put in /opt/lampp/htdocs
The server say me "Error 500"
I'm doing something wrong insurance, but is not it.
A greeting,