Tags:
create new tag
, view all tags

Question

  • TWiki version: Dec 2001
  • Web server: Apache 1.3.24
  • Server OS: FreeBSD 4.5 (Stable)
  • Web browser: IE 6.0.2600
  • Client OS: Windows XP Pro

We downloaded and setup Wiki for our company and clients to use. We have both public areas anyone can access and private areas for only certain people. We are unable to get the search functionality working in some of our private webs.

The WebSearch Topic is not yielding any results in our Twiki Webs where the AllowWebView is set not to allow access to guests.

Here is a dump of our log file.

03 Apr 2002 - 00:53 Main.larry view WebSearch   64.219.218.19
03 Apr 2002 - 00:54 Main.guest search Appsmiths move user 64.219.218.19
03 Apr 2002 - 00:54 Main.guest search Appsmiths user 64.219.218.19

When the search form is submitted from WebSearch, the user and pass used to connect to WebSearch is not being used in the search request.

Since AllowWebView is set not to allow guest to view topics the search returns 0 matches.

Does anyone have any suggestions how to fix this problem?

Is the problem in the perl for TWiki, the Apache httpd server configure, or the browser configurations?

Thank you in advance for any help.

-- LarryPeacock - 11 Apr 2002

Answer

Two things to check.

Look at the NOSEARCHALL flag in the WebPreferences, it should not be *Set NOSEARCHALL = on.

If you want to know the user for the search script you need to authenticate the user, either by enabling authentication for the search script in .htaccess, or by tracking the user after a login (e.g. by IP address or a cookie, check the docs)

-- PeterThoeny - 12 Apr 2002

Topic revision: r2 - 2002-04-12 - 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.