port forwarding httpd

Q&A's, tips, howto's
Locked
tom
Posts: 168
Joined: Wed Jul 14, 2004 10:32 pm

port forwarding httpd

Post by tom »

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...

pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Post by pjot »

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

Locked