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