I am trying to place a password on www.example.com/need-password/ url only. ie: www.example.com should just work as normal without needing a password. I am also looking to do this ONLY using Apache 2.4 (not Apache2.2)
Asked
Active
Viewed 258 times
0
-
Have you tried this solution: [Password protect a specific URL](https://stackoverflow.com/questions/14603568/password-protect-a-specific-url#answer-26980313). It's said to be working on Apache v2.4.25. – qvotaxon Jan 27 '18 at 13:32
-
Yes. I even commented that it didn't work before posting this question as seen here: https://i.imgur.com/uUjM5mw.png – John Crawford Jan 27 '18 at 13:34
-
Ohh, sorry. Didn't check the username.... – qvotaxon Jan 27 '18 at 13:36
-
Have you enabled the authgroupfile Apache module? If not, maybe you need to run `sudo a2enmod authz_groupfile` to enable it. I haven't tried this, so it's just a guess. – qvotaxon Jan 27 '18 at 13:41
-
Yes I have. It is done. – John Crawford Jan 27 '18 at 15:48