Gilles Detillieux (email@example.com)
Tue, 2 Nov 1999 13:57:26 -0600 (CST)
According to Derek E Mart:
> Hello again! I have another problem that I might be able to fix if I play
> aroudn with it enough, but I thought I's throw it out in case someone has a
> quick fix.
> I compiled the program with --with-image-dir=/dir/to/images/htdig -and- I
> change the CONFIG to the same effect, however when I run search, it still points
> it's IMG SRC tag to the default "/htdig/images" what is the deal?
Arrgh! This is one of the most annoying problems in the configuration
of 3.1.x, which I'm hoping is fixed in the upcoming 3.2. You have to
manually edit CONFIG after running ./configure, to change IMAGE_URL_PREFIX
to what you want.
Otherwise, you need to set image_url_prefix in your htdig.conf, AND edit
all your common/*.html files, as well as search.html, to correct all the
<img src=...> tags to use the path you want. (The first fix is easier,
if you don't mind recompiling and reinstalling.)
The configure program can't automatically determine what the prefix should
be, based only upon your with-image-dir setting, because depending on
your HTTP server configuration, the two could be quite different (though
in most cases the prefix is a substring of the whole directory path).
-- Gilles R. Detillieux E-mail: <firstname.lastname@example.org> 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@example.com containing the single word unsubscribe in the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Tue Nov 02 1999 - 12:07:16 PST