According to Joseph Cheek:
> i have htdig 3.1.1 installed, and a wrapper [php] file that surrounds the
> search results, in order to give me dynamic content around the search results.
> it works *great*, except for one small thing: the page 1, 2, 3, etc. at the
> bottom of the search results link to /cgi-bin/htsearch instead of my
> /results.php wrapper.  is there any quick way to change this?  a perusal of
> the htdig.org web site and the config file docs didn't turn up anything that
> looks like it would work.

The URIs in PREVPAGE, NEXTPAGE and PAGELIST are all created from the
environment variable SCRIPT_NAME, which in typical installations has the
value /cgi-bin/htsearch.  You'd need to change this variable in your PHP
code, before it calls htsearch.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to