Tags:
create new tag
view all tags

Question

Recently I've figured out the following problem:

I have added new web MyWeb to teh project.

When I set ALLOWWEBVIEW to me on MyWeb.WebPreferences, I got "View Access Denied" on "Total Page History" link of any page in the MyWeb.

I've been correcly logged in as user written in ALLOWWEBVIEW, so I can see and edit any page in MyWeb. But I've figured out, that in this case perl scripts other then "view" and "viewauth" have problems accessing MyWeb topics.

When I set ALLOWWEBVIEW = , problem disappears.

Also I see this effect only on MyWeb. For ex. with the same settings with Main or Twiki web I can perfectly go on the "changes" and "Total Page History" there, therefore perl scripts "rdiff" and "changes" work well. Also the problem like this is located in DiffDoesNotAuthenticate.

How can I solve this issue?

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2003 Server
Web server: Apache 1.3.27
Perl version: 5.8.5
Client OS: Windows XP SP 1
Web Browser: Opera 7.6

-- TWikiGuest - 17 Sep 2004

Answer

You probably need to set $doRememberRemoteUser to 1 in TWiki.cfg.

-- CrawfordCurrie - 19 Sep 2004

Closing this question, is most likely Crawford's suggestion since the view script is noy authenticated TWiki needs to know who the user is.

Alternatively you can authenticated the view script which requires users to login also when looking at TWiki content. Set this in twiki/bin/.htaccess:

<Files "view">
       require valid-user
</Files>

-- PeterThoeny - 21 Sep 2004

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2004-09-21 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.