[racket] Too Many Redirects (Apache)

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Fri Sep 16 07:29:09 EDT 2011

I think I've seen that before and I thought it meant the redirect was
set up wrong, but it doesn't seem like you have done that.

What URL are the GETs to? What happens when you go to it directly?


On Thu, Sep 15, 2011 at 11:13 PM, Jeremy Kun <kun.jeremy at gmail.com> wrote:
> 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 page, 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
> Regards,
> Jeremy
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users

Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.