helzer wrote:
> A little update...
> 
> x_send_file is just fine.
> The install instructions are a little broken, but eventually it works.
> Get it from:
> http://tn123.ath.cx/mod_xsendfile/
> 
> After create the extension with:
> apxs2 -cia mod_xsendfile.c
> 
> the extension gets copied to some default apache modules directory,
> and not necessarily to where you need it. In my case it went to:
> /usr/lib/apache2/modules/mod_xsendfile.so
> 
> So, I copied that to my Apache modules directory, loaded it, and it
> runs just fine.
> Next, I need to change the Ruby plugin so that it only loads in
> production. Otherwise, my development and test environments don't
> download anymore (as I don't have xsendfile via mongrel directly).
> That should be simple enough to do with the RAILS_ENV variable.
> 
> The bottom line is, download contents gets served just fine with zero
> Mongrel effort.
> 
> Amir

Amir but how configure apche httpd.conf file so as apache handle this 
request not mongel in my case rails is handling request..
http://stackoverflow.com/questions/3778360/how-to-i-force-apache-to-handle-download-request-running-apachemongrel

is this what i post to stackoverflow
my problem is mongrel handling this request not apche??
-- 
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