Skip to main content.
home | support | download

Back to List Archive

RE: First post from a new user

From: Don Hamilton <dhamilto(at)>
Date: Fri Sep 08 2000 - 13:44:06 GMT
Thanks for this. Just didn't realize what I was reading. In the mean time,
the answer to my other question (is there a cgi for phrase searching with
version 2) was just to modify the John's cgi to include single quotes (')
around the $query variable in the call to swish-e.

Now, two more questions, please

I want to exclude some directories from the index. Is there an easy way to
do that? I didn't see an obvious parameter.

Assuming there is no easy way, I can modify fc.c to just skip it. Is this an
option others would be interested in, and if so, what is the procedure for
donating 'enhancements'?


-----Original Message-----
From: kg9ae [mailto:kg9ae]On Behalf Of David Norris
Sent: Thursday, September 07, 2000 6:43 PM
Cc: Multiple recipients of list
Subject: Re: [SWISH-E] First post from a new user

Don Hamilton wrote:
> in /home/wwwlib/public_html, and is accessed by http://url/wwwlib, but the
> index entries say http://url/home/wwwlib/public_html.

In your user.config:
  ReplaceRules replace /home/wwwlib/public_html /wwwlib

I think that should do it.  If not exactly that then something similar.
There are replace, prepend, append, and remove options for
ReplaceRules.  You can use regular expressions to do more complex
pattern matching.

The manual outlines the syntax and gives simple examples:

,David Norris
  Dave's Web -
  Dave's Weather -
  ICQ Universal Internet Number - 412039
  E-Mail -

"I would never belong to a club that would have me as a member!"
                                          - Groucho Marx
Received on Fri Sep 8 13:44:21 2000