Running cgi bash scripts in a Debian Slug as per my Sweex notes on this site I keep forgetting! - so here are some basics I am running lighttpd web server not Apache since that grabs lots of Swap space - so it must be slower. Place index.html in /var/www but do not place bash scripts in /var/www/cgi-bin/ So in a browser I call http://192.168.0.51/cgi-bin/i2c_test/i2c_test.cgi and that runs /usr/lib/cgi-bin/i2c_test/i2c_test.cgi I also run PHP5 (apt-get install php5 php5.cgi) |