[racket] apache configuration for racket

From: Tony Garnock-Jones (tonyg at ccs.neu.edu)
Date: Thu Oct 28 12:16:54 EDT 2010

Hi,

Noel Welsh wrote:
> An alternative to CGI is to forward requests from Apache to the Racket
> web server. To do this in Apache you can setup a config like this:
> 
> RewriteEngine On
> RewriteCond %{REQUEST_URI} ^/scheme/.*
> RewriteRule ^/scheme/(.*)$ http://localhost:8080/servlets/$1 [P]

Personally, I find using the more limited but harder-to-screw-up 
ProxyPass option to be, well, harder to screw up:

ProxyPass /scheme http://localhost:8080/servlets
ProxyPassReverse /scheme http://localhost:8080/servlets

Regards,
   Tony


Posted on the users mailing list.