
16 Jun
2009
16 Jun
'09
12:21 a.m.
Erik de Castro Lopo wrote:
I'd like to run my own version of Hoogle:
http://hackage.haskell.org/package/hoogle
as a CGI script much like this:
http://www.haskell.org/hoogle/
but there doesn't seem to be any documentation on how to do this.
Neil Mitchell (the hoogle author) informed me that the hoogle binary behaves like a CGI when the QUERY_STRING environment variable is set. Another problem with hoogle as a CGI is that it writes a log file to the current working directory which on Unix is probably not world writable. I'm working with Neil to make hoogle a little more Unix friendly :-). Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/