I get prompted with a username and password as I wanted, but the problem is that it doesn't except the user/password that I've created, it just continuously denies and prompts again, as if the username/password combination is wrong. I restarted the web server and when I go to link: I created the digest file like this: sudo htdigest -c /etc/apache2/digest_auth users enedene Now I wanted authorized access to directory: /var/www/mydir/private SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem # SSLCertificateFile directive is needed. # If both key and certificate are stored in the same file, only the # /usr/share/doc/apache2.2-common/ for more info. # A self-signed (snakeoil) certificate can be created by installing # Enable/Disable SSL for this virtual host. Options Indexes MultiViews FollowSymLinks ![]() # Possible values include: debug, info, notice, warn, error, crit,ĬustomLog $/ssl_access.log combined Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Options Indexes FollowSymLinks MultiViews Here is my site file on Ubuntu server 11.10:
0 Comments
Leave a Reply. |