I am working on my local machine (Linux Mint < Ubuntu < Debian) and trying to get a simple web page to load.
I ran this newLISP command to get the server running:
newlisp -http -d 8080 -w /home/joe/newlisping/web
And inside of the web directory I have a file called go.lsp which is this:
Code: Select all
#!/usr/bin/newlisp
#
# First newLISP from-scratch web site :D
(print "Content-Type: text/html\r\n\r\n")
(println "<h3>My 1st newLISP Web Site! :D</h3>\n")
(exit)
I even tried to chmod 755 the file but still only see the file contents.
Any quick pointer would be great! Thanks!!
newLISP v.10.2.8 on Linux IPv4 UTF-8