newLISP Fan Club

Forum => newLISP in the real world => Topic started by: tom on August 12, 2005, 04:24:47 PM

Title: port forwarding httpd
Post by: tom on August 12, 2005, 04:24:47 PM
Howdy guys,



I'd like to run a webserver in newlisp, which serves a

wiki instance, and/or other stuff.  I would like to run

apache, and maybe lighttpd, too.



It's easy to have each running, listening on a

different port. Would it be as easy to have a newlisp

script listening on 80, then forward to whatever port

whichever webserver is running on, based on the request

it received?



I guess the effect would be like virtual domains...
Title:
Post by: pjot on August 12, 2005, 04:27:10 PM
Hi Tom,



Take a look at the website of Norman:



http://www.nodep.nl/newlisp/index.html



You will find very good portforwarders over there.



I created a version here:



http://www.turtle.dds.nl/newlisp/portfw.lsp



-Peter