Password file format used on Apache web servers
Questions tagged [.htpasswd]
47 questions
0
votes
2 answers
Apache 2.4 ignoring basic authentication
I'm currently searching a solution to re-enable basic authentication with .htpasswd file in Apache 2.4. Everything was ok using Apache 2.2 and then I upgraded to MAMP Pro 6.4 that implements Apache 2.4. The authentication is now just ignored.
I…
![](../../users/profiles/779488.webp)
Franck Sartori
- 1
- 1
-1
votes
2 answers
How to use .htaccess and .htpasswd for selective redirects & passwords
In my /var/www/ directory I have many directories some like:
/var/www/impdata/
/var/www/data/
So can I achieve this:
When I go to: www.websitename.com/data/ it should give a 404 error.
And when I do www.websitename.com/data/welcome.php it should…
![](../../users/profiles/249297.webp)
user310685
- 127
- 1
- 5