Skip to main content.
home | support | download

Back to List Archive

Re: Changing the output location of a returned result

From: Suzanne Smolowitz <suzanne(at)not-real.slpmbo.ed.ray.com>
Date: Thu Dec 04 2003 - 13:26:44 GMT
Matt Torbin wrote:

Try adding the line:
     ReplaceRules replace http://[myServerIP]/var/www/html/pdfs
http://[myServerIP]/pdfs
to your configuration file when indexing.

> Hey gang,
>
> I have a quick question which I hope will return a quick answer.  I
> have swish-e setup to thread pdfs.  Everything is working great but one
> thing.  When I go to click on a returned result, I can't get to it
> because the path is wrong... technically.  The path returned is:
>
> http://[myServerIP]/var/www/html/pdfs/[fileName].pdf
>
> This returns an error from the server because technically, this isn't a
> location (as far as Apache is concerned).  So, in Apache I created an
> alias to deal with this, but unfortunately, this did not work.  The
> correct url should look like:
>
> http://[myServerIP]/pdfs/[fileName].pdf
>
> Where should I look to make this change?  Is this something that I can
> change in search.cgi?  Please advise.
>
> Thanks,
>
> Matt Torbin
> Web and Graphic Arts Engineer
> PEI-Genesis

--
Suzanne Smolowitz, Raytheon Systems Company
suzanne@sels.rsc.raytheon.com





*********************************************************************
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 Thu Dec 4 13:26:49 2003