/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-05 / redirect all request with file uploads to a specifiy backend

[ << ] [ >> ]

[ Backends over Unix domain socket / Cliff Wells ... ] [ [PATCH] Memory leak in Pound-1.10 / Rune Saetre ... ]

redirect all request with file uploads to a specifiy backend
Corin Langosch <corinl(at)gmx.de>
2006-05-22 20:46:56 [ FULL ]
Hi,

i would like to redirect all request with file uploads to a special backend.
currenty i use something like
--
    HeadRequire "Content-Type: *multipart/form-data.*"
    HeadRequire "Content-Length: *[0-9]{5,}.*"
--
but this doesn't work for small files. has anyone a better idea on how to solve
this problem?

thanks,
corin

Re: [Pound Mailing List] redirect all request with file uploads to a specifiy backend
"Sergio Freire" <etfreire(at)ua.pt>
2006-05-22 22:58:40 [ FULL ]
Hi Corin,
maybe I can help.. that doesn't work for small files because you are forcing 
the content-length header to have at least 5 digits in your regular 
expression.. correct?

Regards,
Sergio Freire

----- Original Message ----- 
From: "Corin Langosch" <corinl(at)gmx.de>
To: <pound(at)apsis.ch>
Sent: Monday, May 22, 2006 7:46 PM
Subject: [Pound Mailing List] redirect all request with file uploads to a 
specifiy backend

[...]

[...]

MailBoxer