525 questions
0
votes
1
answer
110
views
How to configure basic authentification with htpasswd on moongoose swupdate webserver?
I put in this configuration for my SWUPDATE webserver:
SWUPDATE_WEBSERVER_ARGS=" -r /srv/swupdate/mongoose-webapp -p 8081 --auth-domain 'SWUpdate' --global-auth-file /home/swupdate-cred/.htpasswd ...
1
vote
0
answers
68
views
Enable PDF download from URL using htpasswd (APACHE and WP)
I have a website with an UPLOAD folder full of PDF files.
Directory list is disabled but Im not able to enable password to download file
Assuming that the directory abs path is /home/user/server/wp-...
0
votes
0
answers
60
views
Apache .htaccess is not listening to whitelisting
I've setup an .htaccess file to implement a password protected environment.
The idea is that every user that lands on this domain will be asked to login with credentials (using .htpasswd). The only ...
0
votes
1
answer
2k
views
I can't login into my private registry from the host machine's command line [closed]
This is a couple of weeks since I’m having nightmares failing to login into my private docker registry inside minikube virtual machine on macOS Big Sur with vitualbox 6.1.48 as hypervisor. The ...
1
vote
1
answer
600
views
.htaccess with .htpasswd Password Mismatch In Docker Container
I am trying to take a website i build on Windows into a Docker Container.
The Website works without Flaws but the Problem is when i try to Login i get this error in the Logs of the Docker Container:
...
0
votes
1
answer
173
views
Problem Password Protecting a Specific Page/File with .htpasswd and .htaccess
I have a .htpasswd file I created in my home directory, and an existing .htaccess file for all of my site pages. I am trying to password protect only one of these pages.
I tried grouping a new ....
0
votes
0
answers
265
views
Protecting files using htpasswd but every time it's not accepting the password
I am using hostinger hosting,
I have my root folder /public_html and I have added the .htpasswd file in this folder.
I have another folder called /publish_html/demo and I have to protect this folder ...
0
votes
1
answer
271
views
Configuring Apache to look for configuration files (.htpasswd) in DocumentRoot not in ServerRoot
I'm looking for a way to force Apache to look for files relatively to DocumentRoot not to ServerRoot.
Now if I create .htaccess as follows:
#Protect Directory
AuthName "Please provide valid ...
1
vote
1
answer
295
views
.htaccess Is Not working in Linux (Debian) apache2 (Google Cloud)
I know this topic has been discussed to death but I still don't see directions on how to debug this problem. I know the .htaccess file is being read because I added some gibberish to it and that broke ...
0
votes
0
answers
76
views
File Protection using .htpasswd
I'm running a small private wordpress blog and would like to protect the wp-login.php using .htaccess and .htpasswd. I'd like to be promoted by a additional password prompt when trying to access the ...
0
votes
1
answer
143
views
chpasswd.cgi - change password on web won't work with more than 8 chars
Good night!
I'm using a chpasswd.cgi to change password via web, the problem is that when I change the password to 123456789 it won't work. I'm migrating a proxy server to a new one, and I have more ...
0
votes
1
answer
97
views
Exclude subdirectories in htaccess / Ask for different credentials in subdirectories / Stop infinite loop of authentication
I want to have htaccess ask for password on my entire site. However one subdirectory (folder1, which has WordPresss installed) should ask for a different login information (userY).
When I remove the ...
0
votes
0
answers
379
views
Openlitespeed password protected realm and rewriting rules
I am working with openlitespeed and have for my php application a virtual location "/backend/" which I like to have password protected. I also using "rewrite" rules at the root ...
1
vote
1
answer
654
views
Can .htpasswd have user groups and can PHP read them?
if .htpasswd contains joe:password and .htaccess uses basic authentication and you log in as Joe, then
$_SERVER['PHP_AUTH_USER'] / $_SERVER['REMOTE_USER'] / $_ENV['PHP_AUTH_USER'] / $_ENV['REMOTE_USER'...
0
votes
1
answer
407
views
Apache BasicAuth .htpasswd
Issue: My requirement is to implement BasicAuth to my website when I login. Now when load my website it is asking me the credentials and after successful login I can see the landing page of my website....