[racket] Too Many Redirects (Apache)

From: Jeremy Kun (kun.jeremy at gmail.com)
Date: Fri Sep 16 01:13:12 EDT 2011

I'm trying to set up Apache to redirect to the Racket web server on port
8080. Originally after modifying my http configuration file to include the
correct RewriteEngine and RewriteRule lines from this
I got the following error message:

[Thu Sep 15 21:43:19 2011] [error] (13)Permission denied: proxy: HTTP:
attempt to connect to (*) failed

A quick google search gives that the problem might be in the SELinux
security setting: *Allow HTTPD scripts and modules to connect to the
network, *which I suppose is turned off. So I ran

sudo /usr/sbin/setsebool httpd_can_network_connect 1

Now it appears to redirect (the racket web server logs show GET requests
from, but now it appears to be stuck in an infinite redirect
loop, resulting in the following Apache error message:

[Thu Sep 15 21:57:49 2011] [error] (111)Connection refused: proxy: HTTP:
attempt to connect to (*) failed

And an error page with Error 310 (net::ERR_TOO_MANY_REDIRECTS)

Has anyone else encountered this problem? I can't figure out where the
redirection is breaking down. There aren't any error messages in the racket
error logs, just an unnaturally large number of GET requests from

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110916/3153ec41/attachment.html>

Posted on the users mailing list.