[racket] apache configuration for racket
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