Question
Configure won't run anymore. I'm receiving this error after trying:
[Sat Apr 22 23:09:09 2006] [error] [client 192.168.1.100] access to /twiki/bin/configure failed, reason: user 'MY_USER' does not meet 'require'ments for user/valid-user to be allowed access
What could be happening? MY_USER is able to run any other script in /twiki/bin. The only config changes I've made in recent memory was to install mod_perl two months ago.
Here is my .htaccess file info
-bash-3.00# pwd
/opt/apache/htdocs/twiki/bin
-bash-3.00# ls -ld .htaccess
-rw-r----- 1 www www 3297 Apr 22 23:01 .htaccess
Here is the relevant section of .htaccess
AuthUserFile /opt/apache/htdocs/twiki/data/.htpasswd
AuthName 'MY_USER'
AuthType Basic
.htpasswd info
-bash-3.00# ls -ld /opt/apache/htdocs/twiki/data/.htpasswd
-rwxrwxrwx 1 www www 24 Feb 22 00:13 /opt/apache/htdocs/twiki/data/.htpasswd
Its contents
MY_USER:ENC_PASSWORD_STRING
Environment
--
JohnPaulPagano - 23 Apr 2006
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
On first guess I'd say you have probably confused
AuthName in your configuration with
Require.
AuthName is the name of your authentication realm, not the user(s) allowed to access the resource.
Add, for example,
Require valid-user to allow any user from your password file.
Coda
Harald,
Thank you! You were right.
--
HaraldJoerg - 23 Apr 2006