Tags:
create new tag
view all tags

Question

I have a twiki with fairly restricted access; several webs deny access to TWikiGuest, and require individuals to log in. When users hit Backlinks on restricted webs, the search fails; according to TWiki logs (/var/lib/twiki/log/...), the search program always runs as TWikiGuest, which is probably why the failure. The Backlinks search works in webs where TWikiGuest has access. Can this be changed - can I set search to run under the logged-in user's ID? How?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: debian 3.1
Web server: Apache/2.0.54
Perl version: 5.8.4
Client OS: OS X 10.3
Web Browser: Firefox 1.0.4
Categories: Permissions, Authorisation, Search

-- EdwardPiou - 23 Jul 2005

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

You need to track users since the search and view scripts are not authenticated. This can be done by IP address (see TWikiUserAuthentication or with a session tracker plugin.

-- PeterThoeny - 23 Jul 2005

Actually, I had "view" set to be authenticated; your answer made me realize I could solve this problem by setting "search" to be authenticated in .htaccess. Now, the backlinks works.

-- EdwardPiou - 23 Jul 2005

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-07-24 - FranzJosefSilli
 
  • 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.