Password file format used on Apache web servers
Questions tagged [.htpasswd]
48 questions
0
votes
0 answers
secured WordPress login with nginx htpasswd prevents from woocommerce logout
i've protected my /wp-admin/ and wp-login.php with htpasswd in nginx.
this is the .conf file
server {
listen [::]:443 ssl http2;
listen 443 ssl http2;
server_name www.url;
access_log /var/log/nginx/url.access.log;
error_log …

Grendel
- 1
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…

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…

user310685
- 127
- 1
- 5