Questions tagged [.htpasswd]

Password file format used on Apache web servers

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
3 answers
16k views

Password protect directory with Apache: "couldn't check user. Check your authn provider!"

I am trying to password protect a web directory with apache. I have the site set up like this: D:/ webapp/ lib/ .htpasswd document_root/ admin/ index.php ...
Explosion Pills's user avatar
2 votes
0 answers
718 views

(WordPress) .htaccess redirecting actual subfolder location

I have WordPress setup in root, but I have a sub-folder that is not related to WordPress as well. I just moved servers, so before if I went to .com/admin/ I would get that subfolder. Now, I (and ...
MECU's user avatar
  • 121
2 votes
2 answers
2k views

Apache authentication inside a WordPress install

I am currently running into an issue with trying to password protect a directory that is sitting inside a directory that's running WordPress. This is for a directory called "admin" that handles a few ...
Charles Chadwick's user avatar
2 votes
2 answers
2k views

.htaccess has no effect on subdirectory

I need to protect my whole website (It's just for development at the moment) with a password. So I created a .htaccess and a .htpassword file. The .htaccess contains AuthUserFile /my/absolute/path/....
Peni's user avatar
  • 121
1 vote
1 answer
1k views

Apache .htaccess and .htpasswd doesn't ask for password in Django site

I have a Django site with mod_wsgi configured, using Apache 2.4 as web server. Virtual Host: <VirtualHost *:80> ServerName site.com ServerAlias site.com ServerAdmin example@...
Caco's user avatar
  • 113
1 vote
0 answers
402 views

.httpasswd doesn't work breaks Yii .htaccess Rewrite Rules

I have a standard .htaccess for Yii 1.1, to which I added http based authorization. When I added the password protection, the Rewrite Condition RewriteCond %{REQUEST_FILENAME} !-f stopped working, ...
Petruza's user avatar
  • 285
1 vote
0 answers
76 views

Password protect website

I'm trying to password protect my website from ONE ip address. I just want to restrict an ip from accessing my website, but still allow them to access it if they have the password. My current code ....
Peter's user avatar
  • 11
0 votes
0 answers
80 views

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 ...
Grendel's user avatar
0 votes
0 answers
629 views

nginx http authentication with system user

I'm running a nginx server with basic http authentication that use a htpasswd password file. Is possible use instead the normal user and passwpord of linux system?
IU1JVO Giuliano Favro's user avatar
0 votes
0 answers
1k views

htpasswd keeps asking for password - phpmyadmin

I am using Ubuntu 18.04 LTS Desktop to host an apache2 webserver. I installed phpmyadmin and wanted to secure it using htpasswd. There for I edited the /etc/apache2/conf-available/phpmyadmin.conf, ...
mathmaniac88's user avatar
0 votes
0 answers
802 views

.htpasswd username/password picked up but don't seem to work?

My intent is to have Jenkins behind apache. It uses a proxy-pass (for /) and I want it to be behind some basic auth. So I have set up an apache2, using digitalocean's tutorial as starting point. I ...
Stefan Hendriks's user avatar
0 votes
0 answers
400 views

Apache .htpasswd SSL

I understand there are similar questions to this. I tried their solutions and even tried commenting on one before asking this. Before logging in, Chrome is showing the connection does not have SSL. ...
sajattack's user avatar
  • 101
0 votes
1 answer
297 views

Can i use one .htpasswd file for different folders on Linux server

I have many modules in my codeignitor application as module/products module/billing module/cms module/groups ..... Some of the above modules are accessible to admin user only so I want to put ....
Umar's user avatar
  • 119
0 votes
1 answer
288 views

apache how to limit per user ip

i have a password protected directory with hundreds of users in htpasswd file. i want to allow download of files on these conditions: check if username is valid (already done). check if another ...
Bor691's user avatar
  • 243
0 votes
0 answers
3k views

.htaccess password not working

I've been trying to use .htaccess to password protect a folder for a website. Unfortunately I can't seem to get it to work. I'm not getting an error, but the password being set in the .htpasswd file ...
Matt27's user avatar
  • 1
0 votes
1 answer
631 views

.htaccess password directory protection - blank page

i want to use for some website Apache password protection for an directory. This is not mine hosting so I can't look to logs or sth. So I just copied my .htacces that works just perfect on my hosting. ...
marverix's user avatar
  • 131