We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You must opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

Installing this twiki has run me into various pitfalls which I have gotten past -- until this one.

I wish to require users to authorize. I follow the instructions.

And when I create a new user, I go through the registration procedure and then I check the .htpasswd file:

/home/sites/site93/twiki/data/.htpasswd

and see that a new user with a password has been added there.

BUT no user is able to authenticate, not even TWikiGuest!

here's /home/sites/site93/web/twiki/bin/.htaccess


Redirect /twiki/index.html http://playlistnetwork.com/twiki/bin/view

AuthUserFile /home/sites/site93/twiki/data/.htpasswd
AuthName ByPassword
AuthType Basic

SetHandler cgi-script

ErrorDocument 401 /twiki/bin/oops/TWiki/TWikiRegistration?template=oopsauth

<Files ~ "[^/]*\.html$">
       SetHandler blabla
       allow from all
</Files>

<Files "edit">
       require valid-user
</Files>
etc...

  • TWiki version: latest
  • Web server: Apache/1.3.6 (Unix)
  • Server OS: Linux www.editev.com 2.2.14C10 #3 Wed Jun 21 15:05:10 JST 2000 i586 unknown
  • Web browser: "all"
  • Client OS: Mac OS 9.1

-- TomRitchford - 02 Dec 2001

Answer

It looks like the location of your .htpasswd file is not set correctly in .htpasswd. Set it to:

AuthUserFile /home/sites/site93/web/twiki/data/.htpasswd

-- PeterThoeny - 05 Dec 2001

Topic revision: r2 - 06 Dec 2001 - 07:04:30 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback