Re: [Haskell-cafe] Running Hoogle as a cgi script.

2009-06-15 Thread Erik de Castro Lopo
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/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Running Hoogle as a cgi script.

2009-06-14 Thread Erik de Castro Lopo
Hi all,

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.
Clues anyone?

Cheers,
Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe