Frederick Cheung wrote:
> On Sep 27, 9:00?am, Amit Tomar <[email protected]> wrote:
> 
>> Problem is my rails application still handling this request but i would
>> like apache to handle this request ,can anyone tell me how i configure
>> apche to handle this request??
> 
> So what happens when you hit that controller ? (and did you notice
> that rails' send_file method has an x_sendfile option)
> 
> Fred

Fred thanks for responding
Actully when i downloding files,mongrel rendering things,

Processing StreamsController#download (for 127.0.0.1 at 2010-09-27 
16:50:47) [GET]
  Parameters: {"id"=>"6655"}
  ?[4;36;1mSQL (0.0ms)?[0m   ?[0;1mSET NAMES 'utf8'?[0m
  ?[4;35;1mSQL (0.0ms)?[0m   ?[0mSET SQL_AUTO_IS_NULL=0?[0m
  ?[4;36;1mStream Columns (0.0ms)?[0m   ?[0;1mSHOW FIELDS FROM 
`streams`?[0m
  ?[4;35;1mStream Load (0.0ms)?[0m   ?[0mSELECT * FROM `streams` WHERE 
(`streams`.`id` = 6655) ?[0
Completed in 78ms (View: 0, DB: 0) | 200 OK 
[http://src/streams/download/6655]

It is when i am trying to download 2.2GB of file ,file is downloaded 
completely,but my worry is why mongrel is rendering things if apache is 
handling download
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to