Trouble with mod_proxy and mongrel_rails
        Posted  
        
            by x3ro
        on Server Fault
        
        See other posts from Server Fault
        
            or by x3ro
        
        
        
        Published on 2010-03-27T19:40:49Z
        Indexed on 
            2010/03/27
            19:43 UTC
        
        
        Read the original article
        Hit count: 299
        
Hey there
I'm trying to set up a mod_proxy - mongrel combination, but somehow, apache/mod_proxy is unable to access mongrel locally. The following is my configuration for mod_proxy:
ProxyRequests Off
ProxyPreserveHost On
<Location />
        ProxyPass http://localhost:3000/
        ProxyPassReverse http://localhost:3000/
        Order deny,allow
        Allow from all
</Location>
Mongrel/Rails ist running just fine, because I can access it from my browser, and even with lynx on the server.
However, I get the following error when trying to use the proxy:
[error] [client 127.0.0.1] Invalid Content-Length
I would appreciate any help :D
PS: Oh, and the server is running Plesk to configure vhosts, if thats important.
© Server Fault or respective owner