.htpasswd Questions

11

I am trying to password protect a directory, and have two files in the directory which should password protected it: .htaccess .htpasswd HTACCESS: ###Contents of .htaccess: AuthUserFile /var/w...

2

Solved

I am adding authentication to my docker private registry in windows 10. I have initially not implemented basic authentication but later, I implemented it using a htpasswd file which is in my auth f...
Beady asked 26/3, 2021 at 8:2

5

Solved

i use "Force MD5 encryption of the password" in htpasswd to generate a hash for instance '123' i get: use htpasswd: 123 => $apr1$kaTbKaLO$ewJXRZAKpjaxK4thy2jOp/ use MD5 digest: 123 => 202cb962ac5...
Papilla asked 18/3, 2010 at 10:56

5

I want to password protect my website, but as soon as I add in the .htpasswd and .htaccess files I get a server error: Internal Server Error The server encountered an internal error or miscon...
Mite asked 18/3, 2013 at 11:56

4

Solved

I am running Apache 2.4 in Windows Server 2008 R2. I am attempting to password protect a subdirectory and successfully did so in Apache 2.0. After upgrading I took Apache's advice and am attempting...
Venerate asked 1/4, 2013 at 20:26

4

I am trying to get basic authentication working with nginx in Ubuntu Jaunty. In nginx.conf, I added these two lines under the server context: server { ... auth_basic "Restricted Access"; auth_b...
Saylor asked 6/1, 2010 at 2:59

7

Solved

I am trying to password protect a directory on my Nginx powered site that contains things like phpMyAdmin, MemcacheMyAdmin, and more admin utilities. This directory is placed in the root of my sit...
Cymbre asked 12/5, 2013 at 17:52

2

I have an Apache server v2.4.43 that serves my website, and I use a simple .htpasswd that I call in .htaccess using the instruction "AuthUserFile <path to my .htpasswd file>" for my...
Silvas asked 5/8, 2020 at 12:30

4

Solved

I am trying to automate creating a password from the command line. I have tried the below but it still keeps asking for the password. echo "test101" | htpasswd -c ~/temp/password admin How to ge...
Aigneis asked 15/4, 2012 at 17:9

3

I've placed this code in the .htaccess file of the folder I want to protect: AuthName "restricted area" AuthType Basic AuthUserFile /home/#/#/#/#/#/.htpasswd require valid-user In the same folde...
Callaway asked 26/3, 2014 at 12:28

1

Is there a way to password protect a website published using GitLab pages? I tried adding an .htpasswd file to the root of the /pages directory, but that just makes the file available to eve...
Uria asked 12/12, 2016 at 17:33

2

I have tried to password protect a single file using .htaccess. But when accessing the file the browser just redirects to the home page of the website. I have my .htpasswd on my webroot. My .htacce...
Lynching asked 26/11, 2012 at 18:27

9

I have a .htaccess that uses basic authentication. It seems the path to the .htpasswd file isn't relative to the htaccess file, but instead to the server config. So even though I have the .htacces...
Marinemarinelli asked 24/5, 2011 at 14:2

2

Is there a way, from the command line, to check a user and password against a file created by htpasswd, the tool provided by Apache?
Goldagoldarina asked 10/6, 2014 at 17:12

1

Solved

I've stumbled upon a strange issue. Lets say I have folder in main domain directory: /myfolder When I try to access index of files in this folder I go to: myurl.com/myfolder And it works without a...
Monto asked 28/6, 2016 at 11:40

1

Solved

The code below appears to show the text "HELLO WORLD" just fine in Firefox, IE, Safari, but not in Chrome. <Files wp-login.php> AuthType basic AuthName "HELLO WORLD" AuthBasicProvider file A...
Inequity asked 17/3, 2016 at 15:13

2

On DreamHost shared hosting, I'm setting up htpasswd, but Apache does not have permission to read the file. How do I give it permission? I want to either change the owner or group of the .htpasswd ...
Chuch asked 30/11, 2010 at 18:31

1

Solved

I stumbled upon strange way to protect files. Basicly there is empty download.php file in protected folder and two files that cause file to be downloaded (from the same folder): .htpwd where passw...
Tolley asked 5/8, 2015 at 14:50

2

Solved

I was wondering if it is possible to write a comment on the .htpasswd file. Why ? Because sometimes, we have to "disable" some users, just for a couple of days. I checked on StackOverflow and othe...
Landel asked 4/9, 2015 at 10:32

3

Solved

I have already created a user database file using Apache's htpasswd command. This file is now used by several other application like apache and subversion. Users in are created like this: htpass...
Tiepolo asked 27/2, 2009 at 8:21

2

Solved

I am using .htpasswd to password protect certain directory on my server. However, I noticed that everytime I do this sudo htpasswd -c /etc/apache2/.htpasswd newuser my current contents of .htpasswd...
Metatherian asked 30/1, 2013 at 2:1

1

Solved

Short Summary I need to be able to set an environment variable in the Apache site config that defines if the site is dev, beta or production. The htaccess file in the web root will define config ...
Daves asked 19/12, 2013 at 0:9

2

I have a passwordprotected directory with htaccess and htpasswd. The htaccess looks like this AuthUserFile /usr/local/you/safedir/.htpasswd AuthGroupFile /dev/null AuthName EnterPassword AuthTyp...
Epidemic asked 13/9, 2012 at 7:31

1

Solved

Is it possible to password protect a virtual directory (such as a wordpress category): /c/sofas/ It looks like <Location /c/sofas/> would work in httpd_config, but not .htaccess Is it po...

2

Solved

I have a files server and I use mod_autoindex to server the files. I have a username and password in htaccess so only certain people can access the files. I have added another user to htpasswd but ...
Insoluble asked 26/9, 2013 at 19:31

© 2022 - 2024 — McMap. All rights reserved.