Questions tagged [htpasswd]
64 questions
0
votes
1 answer
.htaccess is ignored even if rightly configured
I am getting mad:
vhost: http://termbin.com/4z10
ServerAdmin istreaming@gmail.com
ServerName ec2-52-36-220-163.us-west-2.compute.amazonaws.com
DocumentRoot /var/www/wordpress
Options…

thms0
- 71
- 9
0
votes
2 answers
Nginx Server Block Port 8081 Path to Root Folder
I'm trying to password protect all of port 8081 on my Nginx server. The only thing this port is used for is PhpMyAdmin. When I navigate to https://www.example.com:8081, I successfully get the default Nginx welcome page. However, when I try…

Pamela
- 187
- 2
- 13
0
votes
0 answers
.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 is not working.
Any help would be much…

Matt27
- 1
- 1
- 2
0
votes
3 answers
Apache doesnt pop up htpasswd authentification
i've been having trouble in the last hour with htaccess file.
so what i want:
I have a folder which is located at http://myip.com/FOLDER and I want a simple authentification page via htaccess
So i did the following:
sudo htpasswd -c…

tamani
- 39
- 1
- 5
0
votes
1 answer
ClamAV not installed. ClamAV is already installed
Re-Edit:
After lots of Googling, lots of tracing, lots of tinkering with the nginx.conf & /vhosts -
It came down to an error message saying ClamAV was not up to date.
Running clamscan told me clamscan was not installed.
Trying to install…

rm-vanda
- 257
- 8
- 18
0
votes
1 answer
htpasswd not working when set up in the httpd.conf file
My httpd.conf file looks like:
AuthType Basic
AuthName "Restricted Files"
AuthUserFile "/path/to/.htpasswd"
Require user valid-user
Options Indexes FollowSymLinks
AllowOverride All
Order…

Shamoon
- 911
- 4
- 14
- 22
0
votes
1 answer
Apache How do I make it so other IP Address's can go into a folder but only if they login
So I want to be able to access my "home" admin folder at school but I cant so how do I make it so I can with .htpasswd file and then allow access but I got it to work once but gave me a 500 error...

thakyZ
- 1
- 1
0
votes
2 answers
Lighttpd: htaccess protection does not work
i have tried to setup an htaccess protection of an file from my website.
i have pasted the following code into the 05-auth.conf
$HTTP["url"] =~ "^/www/hosts/domain" {
auth.backend = "htpasswd"
auth.backend.htpasswd.userfile =…

hazelnut
- 25
- 1
- 8
0
votes
1 answer
.htaccess with .htpasswd on site root causes redirect loop
I want to temporarily password-protect a site.
I have an .htaccess file in the site root containing:
AuthType Basic
AuthName "Example Site Name"
AuthUserFile /home/my_username/.htpasswd
Require valid-user
This throws up a login window when I access…

Undistraction
- 117
- 2
- 6
0
votes
2 answers
How can I lock a directory in debian server installed with ngix?
I tried so many methods and get stick hours with this. I edit /etc/nginx/nginx.conf and write these lines.
location /home/user/domains/example.com/public_html/lockfolder/ {
auth_basic "Restricted";
auth_basic_user_file…

Tin Aung Linn
- 3
- 3
0
votes
2 answers
protecting a single .exe-file for downloading with htaccess and htpasswd?
I have this, and only this, in a .htaccess file inside my downloads folder:
AuthType Basic
AuthName "Downloads"
AuthUserFile path/to/.htpasswd
Require valid-user
Once I click the link to download a…

ThomasK
- 103
- 4
0
votes
1 answer
Using nginx and htpasswd, redirect user
Upon my server, I am running Webalizer on a few of my client's websites (and associated log files of access). Now this process is fine, and the log files are generated correctly and stored.
What I am trying to set up nginx to do, is for a user to…

Matthew Gall
- 355
- 1
- 8
0
votes
1 answer
Apache htpasswd ignored DomJudge
I am trying to set up DomJudge with Apache on an Ubuntu server and have the following config included in my httpd.conf
# Require authentication to jury webinterface
Options Indexes Includes…

Pez Cuckow
- 525
- 3
- 8
- 22
0
votes
2 answers
.htaccess Authentication Internal Server Error 500
I am trying to setup an authentication for a directory on a ubuntu server and when i sign in i get a 500 Internal Server Error
I have the following:
AuthUserFile .htpasswd
AuthName "Sign In"
AuthType Basic
Require eMA
I also tried the POST GET…

slik
- 155
- 2
- 8
0
votes
1 answer
htaccess problem
I seem to be having a problem with my htaccess file. Here is the code
AuthUserFile /core/.htpasswd
AuthGroupFile /dev/null
AuthName "Restricted Area"
AuthType Basic
require valid-user
Basically what happens is that it asks for the password, you…
Ryan