Posted on: 2013-03-27 20:26:47.000
So, today I tried it with Hiawatha webserver to exclude nl-webserver from being the problem. I didn't get Hiawatha executing cgi in the first try. This brought me to the idea to use some cgi not from Rockets with nl-webserver. The browser was executing it, so I can be sure now my nl-webserver is executing cgi sites.
I also putted
(load "newlisp-rockets.lisp")(page-redirect "rockets-main")
to the newLisp shell, there was no error message.
I also checked the source of
http://127.0.0.1:8080/index.cgi in the browser, it's a completly empty page!
Then I remembered that I got a simple 404 page if trying to load a nonexisting file, so I thought some parts of the Rockets code seem to work on my machine. But, after looking into rockets-404.lsp it turned out that this message must come from somewhere else.
There is simply no executing of any newLisp code from Rockets, but other code is executed if putted into a cgi file, same webserver, same dir, ...
I also added
#!/usr/bin/env newlisp
(set-locale "C")
(change-dir "/root/newLISP-on-Rockets-master")
to newlisp-rockets.lisp, but (not (working)).