Tags:
create new tag
, view all tags

Question

Hi,

I have allowed write access to TWikiGuest and added a blank password entry to my .htpasswd file. Unfortunately, when a user wants to edit a page they have to go through an auth dialog and set user to TWikiGuest (even though password is blank).

What I would like is for anyone to edit my Wiki without auth, BUT I still need authentication checks because I have certain restricted webs and pages. Is there a way to set it up so that authentication (which is just the apache auth) will assume a default user and, except where required, just allow read/write access without even entering a username/password? I had thought that TWikiGuest was assumed on the server side twiki scripts. So I thought adding TWikiGuest without password would perform this.

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Redhat Linux (recent version)
Web server: Apache (recent version)
Perl version: 5.6.1
Client OS: N/A
Web Browser: IE5

-- BobWaldrop - 12 Feb 2004

Answer

As far as I know this is not possible with TWiki in its current state. You can either have no auth at all - then you don't need to supply a password and all changes are attributed to TWikiGuest. Or you can have auth - then you have to supply a username and password. To make TWiki behave the way you want it to you'd need to change the source code (I think).

-- ChristianKohl - 25 Feb 2004

I'm afraid that Cristian is right. I also want to have this kind of setup, and so will be working toward implementing somthing. unfortuanatly, this model does not suit apache's authentication model very well. (we need to refactor the way scripts are called i think)

-- SvenDowideit - 29 Feb 2004

What I'm looking for is the Wikipedia setup: login not required, but possible. Some people do not want to bother with registration and all that and start right away while others like to see their name in the diffs and all that ... .

-- ChristianKohl - 05 Mar 2004

Workaround: Install TWiki twice, with both pointing to the same data (twiki/data and and twiki/pub). One installation is authenticated, the other not. The drawback is that you have two sets of URLs and that registered users must be careful not to use the non-authenticated TWiki.

-- PeterThoeny - 02 Jun 2004

Topic revision: r5 - 2004-06-02 - PeterThoeny
 
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.