Questions tagged [htpasswd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
363 views

http password protection causing 'too many redirects'

I have a Wordpress site on a VPS which keeps getting attached on xmlrpc and wp logins. As part of combatting this I password protected the wp-admin directory (via Cpanel 'Directory Privacy') - but ...
0
votes
0answers
9 views

htpasswd not prompting for password

I have the following Apache balancer manager configuration . <Directory "/apps/httpd/htdocs1/balancer-manager"> Order deny,allow AuthName "Restricted area for authorised users only" ...
0
votes
0answers
98 views

How to fix .htaccess error? Keeps asking for authentication

I'm setting up basic http authentication for my subdomain dev Laravel site with .htaccess and .htpasswd. First, I created my .htpasswd user and password by command htpasswd -bc .htpasswd admin ...
1
vote
0answers
49 views

Password protect a website only if it is the dev site [closed]

I am trying to password protect a website only if it is the dev site using .htaccess and .htpasswd I am using Apache 2.4.29 on Ubuntu 18.04 Here is what I have in the .htaccess file <If "%{...
1
vote
3answers
3k views

htaccess , htpasswd and error 401

I have a problem with htpasswd. I get an error in error.log apache2 user admin: authentication failure for "/": Password Mismatch Content of my htaccess file: # Set Access Restrictions ...
1
vote
1answer
470 views

In NginX what means location ^~

If I'm not wrong, location = / {} means "only the / folder, not the files inside, not the subfolders" location ~ / {} means "the / folder, all the files inside, all the subfolders and their subfiles" ...
5
votes
1answer
2k views

Password protect an alias virtual directory

I have a main domain being hosted through CPanel. I also have a sub-domain that I would like to appear as a path under the main domain instead of as a sub-domain. So I have: http://example.com/ ...
3
votes
1answer
6k views

.htaccess and .htpasswd throwing 500 internal server error

I've created a .htaccess and a .htpasswd file, both using my hosting's tool, uploaded them, and I get an error when I try to view the directory. Why? my .htaccess file: AuthName "Restricted Area" ...
1
vote
2answers
401 views

How to double protect admin access in PyroCMS

I have read how to protect admin folder with .htaccess and .htpasswd file but in PyroCMS admin login (ex: example.com/admin) just only routing system (no admin folder yet). So, how can I double ...
1
vote
1answer
1k views

How secure is using .htpasswd to secure a directory?

I'm basically creating something off of my main domain www.mywebsite.com/intranet. I've created .htpasswd protection for that intranet directory. I can't implement individual user passwords yet and ...
1
vote
1answer
16k views

.htaccess password protection generates 500 internal server error

I have created a .htpasswd file using htaccess tools of which I have uploaded to the root of my web hosting space (/public_html is my web root). I created a .htaccess file which referenced the ....
4
votes
4answers
298 views

How to restrict access to my site using htaccess

How to disallow access to site except me?
1
vote
2answers
442 views

htaccess and htpasswd trouble

This is the first time that I have ever tried working with .htpasswd and .htaccess files, so please point out my childish works. I have my apache document root set to /www/ on my debian server. ...