[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
htsearch- any ideas?
-----BEGIN PGP SIGNED MESSAGE-----
Recap:
We don't want 'make install' installing the htsearch binary in /cgi-bin/
because it screws up CVS.
The solution was to put into CVS a shell script:
#!/bin/bash
/home/htdig/xxx/bin/htsearch -c /home/htdig/xxx/conf/htdig.conf
as cgi-bin/htsearch
And have 'make install' install the binary in /home/htdig which is not in
the CVS tree.
This works quite well, but has the cost of 2 forks() (one for bash, the
other for htsearch). Since a very large portion of our requests will most
likely be to the search engine, this is a performance penalty that I don't
think we can afford.
One idea I had was to have 'make install' put the binary in
/home/aturner/cvs/main/cgi-bin. That way I can do a commit. Then in the
web form, we specify the config file to use. This isn't perfect, but it
should work.
I was hoping that someone else would have a better idea.
- --
Aaron Turner | Either which way, one half dozen or another.
aturner@pobox.com | Check out the Red Hat Linux User's FAQ Online!
www.pobox.com/~aturner | http://www.pobox.com/~aturner/RedHat-FAQ/
All emails from this account are PGP signed. Lack of a signature is "bad".
PGP Key fingerprint = FB E1 CE ED 57 E4 AB 80 59 6E 60 BF 45 1B 20 E8
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBNt2TYzM3jpXy1kJtAQHSfAP7BFZ4Rr3OPYm6dTtftIZoxMfoRxPDV0qO
GzHNtEG4XkNk0FbSos0kqXUUl2wFbo7n3nYT7KWWbxFKf9uLZYu6xkLYkuVJNGKy
rwF26jIO0npcUuxxQeuCaD73JQvAfTGlX9rSjDTMirKGkw7N2YJtA5dHDkebLioJ
iJ2DvHsHHdw=
=LM/A
-----END PGP SIGNATURE-----