Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 put it in and it launches into an infinite redirect. This eventually times out and the connection is reset. Anyone have any ideas?

share|improve this question

migrated from Jun 29 '10 at 1:15

This question came from our site for professional and enthusiast programmers.

If you dont need groups, you should simply remove the "AuthGroupFile" directive. The path /dev/null points to a device and the stream "never ends". Any process will infinitly read the ressource, hence the timeout.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.