I don't think it is your script's fault dukester!
newLISP Windows versions 10.5.7, 10.5.8, 10.6.0, 10.6.1, and 10.6.2 crash on Apache web server.
Versions 10.5.6, 10.5.5, and earlier work fine!!!
Last year my newlisp scripts on Uniform Server stopped working for no reason. I thought my server was borked and switched back to using Abyss Web Server. On Abyss, you can setup scripting languages and file extensions or use shebang lines for cgi. I couldn't get shebangs to work, so I just configured newlisp under Abyss' "Scripting Parameters" screen in its console, and that got my newlisp wiki and my other newlisp page scripts working again.
I had about an hour a week of "free time" to program last year, so couldn't troubleshoot it then. I would download the new versions of newlisp, but didn't have time to install or check them out. Sometime around July 4th I updated newlisp, but didn't run my server afterwards. A week later I power it up and... WTF??? No clue what happened... I thought I had been hacked.
This year I have my normal life back and I've spent the last two months cleaning house on my disk drive and updating software that I hadn't updated since 2012-2013. This week, after seeing your problem, I tried to get a new Uniform Server install going - and it would not play nice with newlisp! (Of course I had just erased a bunch of my "useless" Uniform Server files last month telling how to set the damn thing up correctly.)
Today I came across my cache of old newlisp windows installers and had an idea. I started installing and uninstalling those old versions while trying to load newlisp wiki under each version.
Bingo, I got newlisp wiki to work on the older newlisp verisons!!!
------------------------------------------------------
------------------------------------------------------
Software used for test:
Uniform Server: 11.7.1 ZeroXI
Apache 2.4.12 VC10 OpenSSL/1.0.1j-fips
http://www.uniformserver.com/
Abyss Web Server: X1 -(version 2.9.3.6
non-Apache
http://www.aprelium.com/
Opera Browser
FireFox Browser
------------------------------------------------------
------------------------------------------------------
Errors occurring:
------------------------------------------------------
Browser web page error for:
http://localhost/wiki
------------------------------------------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
------------------------------------------------------
Win 7 Message Box: newlisp.exe
------------------------------------------------------
newlisp.exe has stopped working
Windows can check online for a solution to the problem.
> Check online for a solution and close the program.
> Close the programn.
View problem details.
---------
Problem signature:
Problem Event Name: APPCRASH
Application Name: newlisp.exe
Application Version: 0.0.0.0
Application Timestamp: 5303758e
Fault Module Name: newlisp.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 5303758e
Exception Code: c0000005
Exception Offset: 0000b60f
OS Version: 6.1.7600.2.0.0.768.3
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4a9135b953a7833882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4a9135b9533a78882e789
------------------------------------------------------
-- xytroxon