Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: OpenBSD 3.7
Web server: Apache 2.2.0
Perl version: 5.8.6
Client OS: Windows 2k 5.00.2195 Service Pack 4
Web Browser: IE 6
Categories: Htaccess, Permissions, Authentication, Security, Authorisation

-- JohnPaulPagano - 23 Apr 2006

Answer

ALERT! 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

 
Topic revision: r3 - 2006-05-07 - JohnPaulPagano
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.