i've been having trouble in the last hour with htaccess file.
so what i want: I have a folder which is located at http://myip.com/FOLDER and I want a simple authentification page via htaccess
So i did the following:
sudo htpasswd -c /home/daniel/.htpasswd daniel
Please do notice I'm a pure beginner and ive been following a guide. anyways I think with that command i store my htpasswd file in my home folder.
entered pw blablabla etc, worked so far ^^.
I also created a ssl vhost:
my content: File: /etc/apache2/sites-available/default-ssl
<Location /myfolder>
AuthName "Private"
AuthType Basic
AuthBasicProvider file
AuthUserFile /home/daniel/.htpasswd
Require valid-user
</Location>
ServerName XYZX:443
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key
default: ServerName my adress Redirect permanent / my adress
i get ssl and stuff but never the authentification page
apache2 restarted but I just never get the authentification page :(
would appreciate help
thanks