Re: port mapping and cl-http question

"John C. Mallery" <[email protected]> Fri, 6 Oct 2006 15:26:52 -0400
Newsgroups gmane.lisp.cl-http
Message-ID <[email protected]>
Hi Paul,

1. Why not get a dynamic domain address from, for example, http:// 
www.dyndns.com/ ?

2. See the functions add-virtual-host-nick-name or add-virtual-host.

3. If you run your server on the loopback address, then you server  
will work without reconfiguration no matter where your laptop might be!

4. Sign up to beta test the new and vastly improved cl-http beta.

Regards, John


On Oct 6, 2006, at 2:55 PM, Paul Pangaro wrote:

> 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
> [email protected]
> https://lists.csail.mit.edu/mailman/listinfo/www-cl


_______________________________________________
WWW-CL mailing list
[email protected]
https://lists.csail.mit.edu/mailman/listinfo/www-cl