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?

link|improve this question
feedback

migrated from stackoverflow.com Jun 29 '10 at 1:15

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

1 Answer

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown