Hi Troy,
thanks for your answer.
I tried with
ReplaceRules replace "/export/customer1/html/"
"http://www.customername/andsoon.../"
Now i get the right DocumentPath in my result, but not in my search-Result
- the first point ...
Her´s my result:
1 pricelist.html - rank1000
Last modified ...
Document Size ...
Document Path: www.customer1/privatecustomer/pricelist.html - that´s right
but the link at 1 pricelist is:
www.customer1/cgi-bin/www.customer1/privatecustomer/pricelist.html
where cgi-bin is the directory where i call swish-e from ...
/www.customer1/cgi-bin/swish.cgi
Did you perhaps any further idea?
Regards,
Georg
-------- Original-Nachricht --------
> Datum: Tue, 15 Jun 2010 03:09:35 -0600
> Von: Troy Wical <troy@wical.com>
> An: Swish-e Users Discussion List <users@lists.swish-e.org>
> Betreff: Re: [swish-e] swish-e - Help with Document-Path
> On Jun 15, 2010, at 2:58 AM, pgeo@gmx.de wrote:
>
> > Hi @ all,
> > i didn´t have any experience with swish-e
> > and hope, somebody could help me:
> >
> > Here´s the situation:
> >
> > our webserver has mounted his Doc-Root on another Server via NFS;
> > the server "see" his docroot for example as /export/customer1/html
> > the index.html is then /export/customer1/html/index.html
> > eg. there´s an document called "price.html" in directory
> /export/customer1/html/privatcustomer/price.html
> >
> > But from extern (Internet) you´ll see only
> www.customername/privatcustomer/price.html
> >
> > in my swish.conf i wrote:
> > IndexDir /export/customer1/html
> > IndexDir /export/customer2/html
> > and so on.
> >
> > Now, when i start the search i get as result:
> > Documentname (in this case: price.html)
> > Last modified Date: xxx
> > Document Size: 12323
> > Document Path: /export/customer1/html/privatcustomer/price.html
>
> I believe you would want the following in your conf file:
>
> ReplaceRules replace "/export/customer1/html/"
> "http://www.customername/privatecustomer/"
>
> This will replace the file path with the url prefix you are looking for,
> that way users can follow the link.
>
> Good luck.
>
> Troy
> _______________________________________________
> Users mailing list
> Users@lists.swish-e.org
> http://lists.swish-e.org/listinfo/users
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Tue Jun 15 05:56:25 2010