In our environment for testing purposes
we set up a web server with the document root of /home/htdig-test
and the script alias of /home/htdig-test/cgi-bin
We then build htdig with --prefix=/home/htdig-test
It would be nice if this scenario worked without any changes to the
From: Geoff Hutchison [mailto:ghutchis@...]
Sent: Thursday, October 25, 2001 4:28 AM
To: Gilles Detillieux
Cc: joe.blythe@...; htdig-general@...
Subject: Re: [htdig] image-url-prefix
At 4:26 PM -0500 10/24/01, Gilles Detillieux wrote:
> > last time i installed htdig i used --with-image-url-prefix=images and
>> worked fine ...
>I find that surprising. Unless you put your images subdirectory in the
>same directory as the htsearch binary, relative URLs like this won't work.
And furthermore, if your htsearch binary is in cgi-bin, then the
server will often have problems fetching images from that directory.
Again, I'll echo what Gilles said--this has never been a bug, only an
issue of misconfiguration. If you have any suggestions on how to
improve the configuration process, they'd be appreciated.
Williams Students Online
htdig-general mailing list <htdig-general@...>
To unsubscribe, send a message to
<htdig-general-request@...> with a subject of unsubscribe
According to Budd, Sinclair:
> In our environment for testing purposes
> we set up a web server with the document root of /home/htdig-test
> and the script alias of /home/htdig-test/cgi-bin
> We then build htdig with --prefix=/home/htdig-test
> It would be nice if this scenario worked without any changes to the
> installed files.
Maybe it's a good thing it doesn't! It's a horribly BAD idea to put
everything in a directory right under your DocumentRoot because then
all your config files, template files and database files are directly
accessible by anyone with a web browser.
In a proper configuration, only the image files, initial search form,
and the htsearch CGI program should be visible from the browser.
Gilles R. Detillieux E-mail: <grdetil@...>
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