[FGS] Status / httpd / etc

Frank Warmerdam warmerdam at pobox.com
Wed Sep 15 13:08:22 EDT 2004


Folks,

It seems like there hasn't been too much activity here for a while.

On an old issue, I did find the httpd support I was thinking was in
Python.   It turns out you can implement a simple HTTP server for static
web pages, and cgi with just this bit of code using a stock python 2.2.

#!/usr/bin/env python

import sys
import CGIHTTPServer
import BaseHTTPServer

if __name__ == '__main__':

     if sys.argv[1:]:
         port = int(sys.argv[1])
     else:
         port = 8000
     server_address = ('', port)

     httpd = BaseHTTPServer.HTTPServer(server_address,
                                       CGIHTTPServer.CGIHTTPRequestHandler)

     sa = httpd.socket.getsockname()
     print "Serving HTTP on", sa[0], "port", sa[1], "..."
     httpd.serve_forever()

I have been using this for "light" web testing on my development machine
where I would prefer not to install a real web server.

--

More importantly, I would like get an FGS "release" out with some sort of
install / environment / package management scripts in the next few weeks.
I will be issuing a GDAL 1.2.2 release soon and I would like FGS to be the
"official" binary build of that for Linux.

It would be nice for this "release" to include everything we have as "Testing"
status.  There are some of the planning/development items I would *like* to
see too, but likely best not to hold up things too much.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Foss-gis-suite mailing list