Page 1 of 1

How do I use newLISP in HTTP mode?

Posted: Tue Apr 21, 2009 12:06 am
by dukester
Before I ask my question, I'd like to say that I'm familiar with using CGI with Apache along with Perl/PHP.

I have seen some examples on how to "invoke" newLISP in HTTP mode, but then what? Should I see something in my browser? Do I have to shutdown Apache first? Which port does HTTP newLISP listen to, 80 or 8080 or something else?

Tim Johnson: jump in, if you date ;)
TIA....

Posted: Tue Apr 21, 2009 2:01 am
by dukester
I found what I needed to know! Port 4711 it is, like:

http://localhost:4711//usr/share/doc/ne ... anual.html

If anybody have any further tips/suggestions and/or recommendations, the line forms to the left. Thanks!

Posted: Tue Apr 21, 2009 6:34 am
by Lutz
Here are some hints about using newLISP in HTTPD mode:

http://www.newlisp.org/newlisp_manual.html#http_mode

and some more advanced topics here:

http://www.newlisp.org/CodePatterns.html#http_mode

Posted: Mon Apr 27, 2009 11:13 pm
by Tim Johnson
Nice of Duke to think of me. I've been doing CGI since 1996 - it's my
bread-and-butter, but have only done some proof-of-concepts with
newlisp/CGI.

I primarily use newlisp for an application that FTPs and sychronizes
projects to remote servers.

But what really interests me is this:

http://www.newlisp.org/index.cgi?page=S ... ons_to_XML

First chance I get, I'm going to try to see how that code handles
inserting HTML attributes. I did write a newlisp "html dialect" but
it is 160 lines of code and a pain in the arse to use.

Duke I hope Lutz got you pointed in the right direction.
cheers
tim

Posted: Thu Apr 30, 2009 8:36 pm
by dukester
Tim Johnson wrote:Nice of Duke to think of me. I've been doing CGI since 1996 - it's my
bread-and-butter, but have only done some proof-of-concepts with
newlisp/CGI.

[snip]

Duke I hope Lutz got you pointed in the right direction.
cheers
tim
So far so good! I now know where to go if I need help and after I've RTFM. ;) Pardon my French...