Ben Anderson - 2014-04-10

Has anyone been able to get basic authentication to work? I have been having problems with it. I am using htpasswd build from the httpd directory and the output is as follows:

/mnt/flash/www # ./htpasswd admin
New password:
Re-type new password:
Add the following to your '.htpasswd' file
admin:1Mf42GnpNnJcc9YyYLFrbg==$vheqrQjolUK7VNToOkhpRQ==

The password entered is admin. I then run the following:

/mnt/flash/www # ./htpasswd admin > .htpasswd

Then I remove the first line and the resulting .htpasswd file is:

admin:1Mf42GnpNnJcc9YyYLFrbg==$vheqrQjolUK7VNToOkhpRQ==

Then I restart axhttpd and get the following:

/mnt/flash/www # axhttpd
addcgiext .lua,.lp,.cgi
axhttpd/1.2.4: listening on ports 80 (http) and 443 (https)
axhttpd: access to / denied
axhttpd: access to / denied

The first denied is before I put username and password and the second is after I supply admin/admin for the username/password.