Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

port mapping and cl-http question: msg#00001

Subject: port mapping and cl-http question
i need to serve to remote IP addresses from my cl-http-based application, running behind comcast's cable modem into my office network running NAT

i've got port mapping working so that i can give out an IP address, obtained from comcast's cable modem, and reach my cl-http server from a remote machine. i know this because i get a cl-http error page from my server, which says:

Bad Request: Unknown Virtual Host
The virtual host xx.yy.zz.qq [my cable modem's IP address] on port 8000 is unknown.
-------
CL-HTTP/70.190 (Macintosh Common Lisp; 3.9.7)
-----------------------------------------------------------------------------
so it seems that my cl-http code isn't understanding the request that's coming in well enough to serve from my application code, but at least cl-http is connecting via port mapping correctly. my cl-http is running fine because i get served correctly from my app when i browse to the IP address of the serving machine inside my network

i figure there are 1 of 2 issues/ways to get this working:

- the way i'm using cl-http is wrong/bad form, but i'm not sure how

- i need to add a mapping from the cable modem IP address to the IP of my server machine somehow via cl-http code. is this the proper use of http:add-virtual-host? do i have to re-write every export-url form? my experiments with this have failed

i'm using the vanilla start-server.lisp code [MCL on Mac OS X]

all help welcome, thx in advance

-paul

_______________________________________________
WWW-CL mailing list
WWW-CL@xxxxxxxxxxxxxxxxxxx
https://lists.csail.mit.edu/mailman/listinfo/www-cl



<Prev in Thread] Current Thread [Next in Thread>