- Code: Select all
sudo -u www-data /path/to/index.cgi
sudo -u www-data /path/to/index.cgi
doug@doug-desktop:~/software/ccl$ sudo -u www-data /home/doug/dev/trunk/htdocs/index.cgi
[sudo] password for doug:
Content-type: text/html
This is a test
Couldn't load lisp heap image from /home/doug/dev/trunk/htdocs/image
[Fri May 08 10:51:21 2009] [error] [client 127.0.0.1] Premature end of script headers: index.cgi
Terminal
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Apache
/usr/local/bin:/usr/bin:/bin
#!/bin/sh
/home/doug/software/ccl/ccl -I /home/doug/dev/trunk/htdocs/sitewire.app
#!/bin/sh
/home/doug/dev/trunk/htdocs/index.cgi
hrapof wrote:Funny thing: I'm doing the same right now! CGI isn't very "cool" today, and Lisp isn't supposed to be particularly suited for CGI due to long startup time, and yet there are two persons simultaneously making CGIs with CCL
hrapof wrote:My Clozure CGI works fine with Apache on Windows XP, but fails miserably with IIS (due to some error in CCL-DIRECTORY or USER-HOMEDIR-PATHNAME).
Users browsing this forum: Google [Bot] and 11 guests