You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Xavier Noria <fx...@hashref.com> on 2006/12/08 23:48:12 UTC

[users@httpd] LimitRequestBody and mod_proxy_balancer

I have an application served by Apache 2.2.3 + mod_proxy_balancer to  
forward dynamic requests to a few Mongrel processes, and some rewrite  
rules to serve static content directly (a typical setup for Rails).  
That's configured as a virtual host, in case it matters.

This web site features video uploading and we would like to limit the  
allowed size to 30MB. According to the docs we have tried  
LimitRequestBody, but looks like proxied requests bypass it. I don't  
see a way to restrict uploads in Mongrel, and Rails controllers are  
called once everything is on disk, so we cannot prevent huge uploads  
from within the application.

Is there a way to accomplish that from Apache with this setup?

-- fxn


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] LimitRequestBody and mod_proxy_balancer

Posted by Mark <mg...@cox.net>.
Are you in New Orleans
----- Original Message ----- 
From: "Xavier Noria" <fx...@hashref.com>
To: <us...@httpd.apache.org>
Sent: Friday, December 08, 2006 4:48 PM
Subject: [users@httpd] LimitRequestBody and mod_proxy_balancer


>I have an application served by Apache 2.2.3 + mod_proxy_balancer to 
>forward dynamic requests to a few Mongrel processes, and some rewrite 
>rules to serve static content directly (a typical setup for Rails).  That's 
>configured as a virtual host, in case it matters.
>
> This web site features video uploading and we would like to limit the 
> allowed size to 30MB. According to the docs we have tried 
> LimitRequestBody, but looks like proxied requests bypass it. I don't  see 
> a way to restrict uploads in Mongrel, and Rails controllers are  called 
> once everything is on disk, so we cannot prevent huge uploads  from within 
> the application.
>
> Is there a way to accomplish that from Apache with this setup?
>
> -- fxn
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org