13

Authentication htaccess does not use htpasswd

 3 years ago
source link: https://www.codesd.com/item/authentication-htaccess-does-not-use-htpasswd.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Authentication htaccess does not use htpasswd

advertisements

I have an .htaccess file that looks like this:

AuthUserFile /etc/.htpasswd
AuthType Basic
AuthName "Restricted Client Area"
Require user admin

In the /etc/.htpasswd file I have a single entry for a user called admin that was created via the htpasswd binary. When I go to my site and get queried for authentication, it's letting me login with the Mac user 'admin' that exists on the webserver, as opposed to the admin user from the htpasswd file.

How do I ensure it uses the htpasswd file, and only the htpasswd file?


Short of this being some kind of bug or previous misconfiguration, such behavior should not be present by default.

There are several ways to enable such functionality, so you may need to backtrace and figure out if you can disable any that are present:

Related Articles

Why zookeeper does not use my log4j.properties file directory

In my zookeeper/conf/log4j.properties file I set the zookeeper.log.dir to $HOME/zklogs When I use zkServer.sh it does not use that directory. Instead it uses the ${ZOO_LOG_DIR} which when I echo it, comes out to "." I don't understand how fix th

Jboss RestEasy does not use UTF-8 encoding

I'm working with Jboss EAP 6.2 with RestEasy library (resteasy-jaxrs 2.2.1.GA) in Linux enviroment The body of each client service's response does not use the UTF-8 encoding. The following a client's code example: ClientRequest request = new ClientRe

The application does not use the full height of the iPhone 5

I have an App that was created a long time ago and updated it to use Storyboards. All the views have been rebuilt and hooked up. However, the App does not use the entire height of an iPhone 5, even though in Storyboards, it shows they adjust based on

The Tinkerpop API does not use the mixed elastic search index when retrieving titan data

Tinkerpop API does not use mixed elasticsearch index while retrieving data from titan. Though if we directly use titan API it does use mixed elasticsearch index. e.g. I have created a mixed index on name. When we use tinkerpop API : graph.iterator().

Configuring ActiveJDBC for an Eclipse project that does not use Maven

I read a few things about activejdbc and I liked it. I tried adding it to an Eclipse project that I already have and realised that most of the references on how to add it to projects use Maven. I am not using Maven for my project and I am not ready t

SQL Server does not use an XML index to query the XML rows group

Hopefully someone can help with this. We have the need to return a data field from a rowset XML column in SQL. The routine works but does not use any of the created XML indexes (Primary + Secondary ones on Value/Path/Property but no Selective XML ind

Cocos2d does not use the entire screen of iphone 5

I have a problem with my application ios. It is a universal application of cocos2d 6.0. It works on ipad, iphone 3GS, 4, 4S. Iphone 5 on I can start the application but cocos2d does not use the entire screen. Like iPhone 4. Do you have any idea?? Tha

SQL Server does not use an index comparing the time of the date to the null value

I have a simple table not related to any other. It has a not PK column that it is a date. I have created a non-clustered index to that column. If I make this query: select * from table where datecolumn is not null <-- does not use the index and goes

How can I use Super CSV on a delimited file that does not use a quote character?

I'm using Super CSV to parse a pipe ("|") separated file. The file does not use "text qualifiers", or what Super CSV calls a quote character. The problem is that Super CSV requires a quote character. I don't see a way to skip this, or

Cordova app that does not use push notifications: Missing push notification rights & rdquo;

We've got a Cordova based iOS app that does not use push notifications. As of Cordova 3.5.0, each submission we have made to the app store results in an email informing us that our app includes API used to register with Apple's Push Notification Serv

Histogram that does not use bin intervals but concrete values

I'm numpy newbie so please bare with me. I've hacked up following code, it is basically histogram which does not use interval bins. It is useful for discrete values. I've done it in pure numpy: In [281]: a = np.array([1,2,5,3,2]) In [282]: hist, bin_

The Visual Basic messaging sender does not use the Custom field from the sender

I have a problem with one of my forms that I've created. It is supposed to be an email sender that allows the user to send an email to a given email in the code from a specified email that they put in TextBox1. The problem is that the email, when sen

Frontend HTML / CSS Framework that does not use javascript?

I'm looking for a html/css frontend framework (sth like boostrap) but that does not use javascript. I develop a "hidden tor" project an most tor users does not have javascript enabled.I know only about Purecss. It doesn't have very massive funct

Why does ZEND use interfaces and abstract classes everywhere while Codeigniter does not use them at all?

ok. So i grep'ed through Codeigniter 2.0 directory looking for interface or abstract keywords. I couldn't find Codeigniter using class skeletons anywhere. AFAIK and can see - CI only uses concrete class implementations. Is not using abstracts and int

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK