To the most recent reply, here are the results of running the app as www-data, it seems as if it's not a permission problem.
doug@doug-desktop:~/software/ccl$ sudo -u www-data /home/doug/dev/trunk/htdocs/index.cgi
[sudo] password for doug:
This is a test
cgsullivan >> The "blank" in the error message you spoke of is filled in if I try to run it "like an interperted script".
[code]#!/home/doug/software/ccl/ccl -I /home/doug/dev/trunk/htdocs/image[/quote]
The error looks like this:
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
You're indeed right, the two paths are not the same.
However, the executable should be self contained since I prepended the kernel, I'm not seeing why it needs a path at all.
Anyways, I added the path to apache as you suggested and still had no luck.
I'm going to try saving it without prepending the kernel, maybe I'll be able to load the image by passing it to the CCL binary.
Wodin >> I get how the permissions work; running it as Opera was a brainfart indeed. And I downloaded SBCL from the site, not the repo. I've been using it and it works fine.
I shot an email off to the CCL dev list, I'll see if they can add anything to this.