Notes on getting fastcgi version working... #-------put files in right place -------------- see README for building it, or just copy the binary roofcgi to /usr/bin/roofcgi #make the binary available to the system (link it into place) ln -s /usr/bin/roofcgi /usr/lib/cgi-bin/ #-------edit apache config -------------- In /etc/apache2/mods-enabled/fastcgi.conf FastCgiIpcDir /var/lib/apache2/fastcgi AddHandler js-fastcgi .rjs SetHandler fastcgi-script Action js-fastcgi /cgi-bin/roofcgi AddType application/x-httpd-js .rjs #-------create a test file -------------- eg. (test.rjs - note the extension has to match the config above) /var/www/testjs/test.rjs -----test.fjs-------------------------- println(Request.toSource()); println("
");
println("hellow world from javascript");
-----test.fjs--------------------------

then go to http://localhost/testjs/test.rjs