[plt-scheme] web server behind apache

From: Corey Sweeney (corey.sweeney at gmail.com)
Date: Fri Nov 4 13:18:23 EST 2005

the web server on 8080, and run the "add.ss" demo. All works fine.

Then I set up apache https, and proxy it to the plt web server with:

RewriteEngine On
RewriteRule ^(.*)$ http://localhost:8080/$1 [P]
from a subdirectory called "plt-ws"

I run https://localhost/plt-ws/servlets/examples/add.ss, and it asks for the
first number, which I enter. Hitting submit sends me to:


I get a 404 error cause the "plt-ws" part is missing. So I probably need to
get apache to add a ""plt-ws" to all returned addresses.

Then I try manually going to

https://localhost/plt-ws/servlets;id18*0*19261510/examples/add.ss, and I get
the less expected error:

Error 500

The servlet terminated abnormally.
Please ask the author to fix the problem based on the details in the
Web server's log file.

Powered by PLT

and the webserver puts on stdout:

Servlet exception:
extract-binding/single: number not found in ()

Anyone know what's happening here?


(same happens when proxying through appache as http, so it should be
unrelated to SSL)

((lambda (y) (y y)) (lambda (y) (y y)))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20051104/fedf4f98/attachment.html>

Posted on the users mailing list.