Re: [Mongrel] x_send_file sends a 1 byte file

2008-06-24 Thread George Schreiber
Managed to configure Apache+proxy balancer+XSendFile+Mongrel to work. :) Thank you guys for putting me on the right track!! -- Posted via http://www.ruby-forum.com/. ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailm

Re: [Mongrel] x_send_file sends a 1 byte file

2008-06-17 Thread George Schreiber
Jeremy Kemper wrote: > On Mon, Jun 16, 2008 at 11:35 PM, George Schreiber > <[EMAIL PROTECTED]> wrote: >> >> Any help/hint would be appreciated. > > This only works with a frontend httpd to intercept the X-Sendfile > response header and send the actual file. > > Without a frontend httpd, you're

Re: [Mongrel] x_send_file sends a 1 byte file

2008-06-17 Thread mcr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "Kirk" == Kirk Haines <[EMAIL PROTECTED]> writes: Kirk> So, in order to adequately test it, you will have to have Kirk> _something_ in front of your processes which handle it. Also Kirk> be aware that only some web servers implement

Re: [Mongrel] x_send_file sends a 1 byte file

2008-06-17 Thread Matte Edens
If you do have X-SendFile installed make sure your settings for it are correct as well. I got caught by this the other day too. I had forgotten to add... |XSendFile on XSendFileAllowAbove on |||to my VirtualHost config. FYI. matte - webmaster [EMAIL PROTECTED] || Kirk Haines wrote: On Tue

Re: [Mongrel] x_send_file sends a 1 byte file

2008-06-17 Thread Kirk Haines
On Tue, Jun 17, 2008 at 1:23 AM, Jeremy Kemper <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 11:35 PM, George Schreiber <[EMAIL PROTECTED]> wrote: >> Hello, >> >> sorry if creating a dupe... >> >> I'm trying to download files to authenticated users in my app. I've set >> up x_send_file. All

Re: [Mongrel] x_send_file sends a 1 byte file

2008-06-17 Thread Jeremy Kemper
On Mon, Jun 16, 2008 at 11:35 PM, George Schreiber <[EMAIL PROTECTED]> wrote: > Hello, > > sorry if creating a dupe... > > I'm trying to download files to authenticated users in my app. I've set > up x_send_file. All seems to be correct to me, however when I try to > download any file, I get a 1-by

[Mongrel] x_send_file sends a 1 byte file

2008-06-16 Thread George Schreiber
Hello, sorry if creating a dupe... I'm trying to download files to authenticated users in my app. I've set up x_send_file. All seems to be correct to me, however when I try to download any file, I get a 1-byte long file downloaded. I am getting this already in development - so no Apache, no ligh