Questions tagged [htpasswd]
The htpasswd tag has no usage guidance.
16 questions
1
vote
2
answers
540
views
Is it possible to restrict the access to a website with a login/pwd tuple without having access to the Apache config?
I only have a web hosting solution which doesn't include a server config access, this is a mutualized solution.
I would like to try to allow users to access my website only if they have the expected ...
4
votes
2
answers
418
views
Password protect specific files on root of website
I have had a website running for a while and it has a small following. What I wish to do now is password protect some specific files that sit in the root directory. So I'd like the user not to see any ...
1
vote
1
answer
135
views
.htaccess problem with people with identical usernames
I've recently set up a password protected area on a client's website, but there's an issue where several of the members of the organisation concerned have identical usernames, although, obviously, ...
2
votes
0
answers
286
views
Safari prompts for BasicAuth credentials on every request in WordPress admin area, but works fine on the rest of the site
I have a WordPress website which is in development, and is hidden behind a BasicAuth password prompt. My root level .htaccess file:
AuthType Basic
AuthName "Login Details"
AuthUserFile /var/...
3
votes
0
answers
2k
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
0
answers
64
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
2
answers
1k
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 ...
1
vote
3
answers
5k
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
1
answer
607
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"
...
0
votes
2
answers
419
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 ...
4
votes
1
answer
10k
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"
...
6
votes
1
answer
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/ ...
2
votes
2
answers
1k
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. ...
2
votes
1
answer
17k
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 ....
1
vote
1
answer
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 ...
4
votes
4
answers
560
views
How to restrict access to my site using htaccess
How to disallow access to site except me?