Skip to main content.
home | support | download

Back to List Archive

Re: URL needs to be something other than swishdocpath

From: Paul David Mena <paul(at)not-real.extraspecialbitter.com>
Date: Sat Jul 29 2006 - 21:17:18 GMT
Bill,

Thanks for the tip.  I added the following line to my swish.conf:

ReplaceRules regex  !^/www/(.+)/!http://localhost/$1/!

After re-indexing, all was well.

Thanks again...

Paul

Bill Moseley wrote:
> On Sat, Jul 29, 2006 at 09:46:04AM -0700, Paul David Mena wrote:
>   
>> I'm using swish.cgi to search a directory on my desktop called 
>> /www/html/ACDRA.  This is served up by my apache server as 
>> http://localhost/html/ACDRA.  When I execute swish.cgi it correctly 
>> identifies those pages containing the desired text, but the link listed 
>> is incorrect: http://localhost/www/html/ACDRA.  Running swish.cgi in 
>> debug mode shows that it is basically plugging the variable swishdocpath 
>> into the URL.  Is there some way to override this without editing the 
>> CGI code itself? 
>>     
>
> Check ReplaceRules in the docs.
>
>   




*********************************************************************
Due to deletion of content types excluded from this list by policy,
this multipart message was reduced to a single part, and from there
to a plain text message.
*********************************************************************
Received on Sat Jul 29 14:17:23 2006