.htpassword solution with Apache 2.4
Posted: Mon Jul 19, 2021 4:17 pm
Hi from France.
I know that it's not an Apache forum but I'm searching for a solution to make a .htpassword authentication functional with MAMP Pro 6.4 and Apache 2.4.
This it the code I used to have with previous versions in additional parameters for Directory directive
AuthType Basic
AuthName "Munki Repository"
AuthUserFile /Users/Shared/Shared_Items/hostname/munki_repo/.htpasswd
Require valid-user
With the upgrade, those lines are commented.
If you uncomment these lines, the authentication is no more required (even not asked).
It's not mandatory in my case to use a .htpasswd.
I just need that a login/password can be sent to the Apache server to protect the data access.
See you !
Franck
I know that it's not an Apache forum but I'm searching for a solution to make a .htpassword authentication functional with MAMP Pro 6.4 and Apache 2.4.
This it the code I used to have with previous versions in additional parameters for Directory directive
AuthType Basic
AuthName "Munki Repository"
AuthUserFile /Users/Shared/Shared_Items/hostname/munki_repo/.htpasswd
Require valid-user
With the upgrade, those lines are commented.
If you uncomment these lines, the authentication is no more required (even not asked).
It's not mandatory in my case to use a .htpasswd.
I just need that a login/password can be sent to the Apache server to protect the data access.
See you !
Franck