Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2008 19:09:16 +0200
From:      Michel Talon <talon@lpthe.jussieu.fr>
To:        freebsd-ports@freebsd.org
Subject:   Exploring the FreeBSD ports tree
Message-ID:  <20080909170916.GA32436@lpthe.jussieu.fr>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080909170916.GA32436>