Hello,

while playing with fastcgi stuff, i have updated my tool to explore the
FreeBSD ports tree. It is now a fastcgi responder which can answer
questions behind  a web server such as apache or lighttpd. It can be
found here:
http://www.lpthe.jussieu.fr/~talon/show_index.fcgi
The needed configuration for lighttpd is explained in the comments at
the beginning, this is basically the same as for Django. So one needs to
run the python script show_index.fcgi as root, it creates a socket in
/tmp, daemonizes, and changes its ownership to www. It then communicates
with the web server through this socket. To browse the ports tree, just
point the browser at /showindex/ on the given server. A reasonable
number of queries per second is achievable through this setup.


-- 

Michel TALON

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to