Re: URL needs to be something other than swishdocpath
Paul David Mena <[email protected]>
| Newsgroups | gmane.comp.web.swish-e |
|---|---|
| Message-ID | <[email protected]> |
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. *********************************************************************