To deploy the submission script. Assuming apache2 installed: # apt-get install libgeo-postcode-perl libdbd-pg-perl libcgi-fast-perl libapache2-mod-fastcgi Copy submit.fcgi to a location that the web server will use as CGI (eg /usr/lib/cgi-bin) # a2enmod fastcgi # /etc/init.d/apache2 reload Done! ---------- in practice we will want to use some explict process manager stuff. Either FastCGIServer directives, or the external stuff (FastCgiExternalServer and some stuff to make the thing run) as this will make it easier to poke things when the code changes without reloading apache. Here is one example (requires cgi-fcgi from libfcgi0) cgi-fcgi -start -connect /var/lib/apache2/fastcgi/submit.sock /path/to/submit.fcgi 10 will kick off 10 instances. Then in Apache conf: FastCgiExternalServer /usr/lib/cgi-bin/npemap/submit.fcgi -connect submit.sock ---------- Above not necessarily true. Try libapache2-mod-fcgid. You want to set the DocumentRoot to the /static directory in SVN, and have a ScriptAlias to the /cgi directory on /cgi of the site.