Thank you, that was the key. A simple she-bang line in the cgi file like #!c:/path/to/newlisp.exe doesn't work. But if newlisp.exe is on the PATH, a simple she-bang like #!newlisp works. And I didn't need to create a tmp directory, either.Lutz wrote:is newlisp.exe in the executable path?
Search found 2 matches
- Wed Mar 26, 2008 11:17 pm
- Forum: newLISP and the O.S.
- Topic: How to run CGI with built-in web server?
- Replies: 3
- Views: 6260
- Tue Mar 25, 2008 11:11 pm
- Forum: newLISP and the O.S.
- Topic: How to run CGI with built-in web server?
- Replies: 3
- Views: 6260
How to run CGI with built-in web server?
Hi all, I am trying to use newlisp's built-in web server. It works perfectly on Linux. But it serves only static files on Win XP, for CGI files it gives an ERR:500 need /tmp directory configured error message. I found this string in newlisp.exe but I didn't check the C source for the reason. Could y...