similar to: problem when downloading files with xsendfile

Displaying 20 results from an estimated 300 matches similar to: "problem when downloading files with xsendfile"

2010 Sep 23
0
how to i force apche to handle download requestrunning apach
hii all, Am running apche as frontend to mongrel ,i added these line in Apache''s httpd.conf file LoadModule rewrite_module modules/mod_rewrite.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule xsendfile_module modules/mod_xsendfile.so XSendFile on
2010 Sep 23
0
how to do force apache to handle static request
Posted by Amit Tomar (amit-singh) on 23.09.2010 14:55 hii all, Am running apche as frontend to mongrel ,i added these line in Apache''s httpd.conf file LoadModule rewrite_module modules/mod_rewrite.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule
2010 Sep 22
20
problem in downloading large file with apache+mongrel
hii all, am using apache as frontend to mongrel and loaded xsendfile module in apache ,am looking for 1 GB of download .this is download routine def download @stream = Stream.find(params[:id]) send_file(@stream.location,:filename => @stream.name,:disposition > ''attachment'',:x_sendfile => true ) and And this is how it is processed Processing
2007 Dec 18
0
Using mod_xsendfile and x_send_file with Mongrel
Can anyone tell me how to get x_send_file working with mongrel 1.1.1 and apache 2.2? I''ve installed the mod_xsendfile apache module from http://tn123.ath.cx/mod_xsendfile/ and it works fine serving content from a PHP script, but I can''t get it to work with my single Mongrel instance and ProxyPass. I''m using the following Apache configuration: <VirtualHost *:80>
2008 Sep 01
0
Apache configuration for using plugin Xsendfile
Hello I am facing some problem in using the plugin Xsendfile(http:// john.guen.in/rdoc/x_send_file/).Here in README for setting up web server , the author has given a link to http://celebnamer.celebworld.ws/stuff/mod_xsendfile .But when I try to Install mod_xsend_file.c I am getting an error apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file.. apxs:Error: At least one
2010 Sep 20
0
problem in downloading large file(1.1GB) using xsendfile.so
Hi all, I am Running Apache as frontend server to mongrel and uploaded 1.1 Gb of file using my rails application .Now I am trying to download same 1.1 GB stream ,for that i loaded mod_xsendfile.so in apache httpd.conf file and using send_file function downloaded this 1.1 gb of stream successfully.but after downloading it ,again am trying to download same 1.1 gb of stream but now am getting failed
2010 Sep 20
0
problem in downloading large file(1.1 gb) using xsendfile mo
Hi all, I am Running Apache as frontend server to mongrel and uploaded 1.1 Gb of file using my rails application .Now I am trying to download same 1.1 GB stream ,for that i loaded mod_xsendfile.so in apache httpd.conf file and using send_file function downloaded this 1.1 gb of stream successfully.but after downloading it ,again am trying to download same 1.1 gb of stream but now am getting failed
2007 Nov 23
3
Mongrel+Apache 2.2 Proxy
Hi, I''m running a rails (mongrel) based web service behind an apache proxy, on windows 2003. Sometimes I see a POST in the apache log that returned a 404 but nothing about it in the rails log. It doesn''t happen every time, 9 out of 10 times it works just fine. The post (is actually a put) comes from a .NET application uploading a small xml-file. The log message in apache
2007 Aug 07
3
XSendFile problem
I am trying to user XSendFile in my application. I have installed the plugin and in the environment.rb included this line XSendFile::Plugin.replace_send_file! but it is unable to read the files. Earlier i had used send_file but it increases the mongrel size and slows down the application. Any suggestions about how to make it work? -- Posted via http://www.ruby-forum.com/.
2012 May 07
0
XSendfile via Nginx
Hi, I''m trying to configure nginx to serve a video file on behalf of my rails 3 backend using xsendfile. I want rails to redirect the request for http://myapp.com/recipes/1/video to nginx to handle. Unfortunately, my current configuration results in a 404 (page not found) error. I''ve pasted my nginx configuration at http://pastebin.com/VA4QFM35 Does anyone know what could be
2008 Jan 08
4
XSendFile in development environment
Hi I''m currently trying to use X-Sendfile to take some load off my rails app, unfortunately in my development environment mongrel is happily passing through the x-sendfile header, presumably for the (non- existant) proxy to handle the header. Is there some way to make mongrel process the x-sendfile header itself? Thanks jebw
2008 Jun 17
6
x_send_file sends a 1 byte file
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 lighthttpd, just a mongrel_rails start in the root of my app. Any help/hint would be
2007 Dec 12
10
sendfile and mongrel
forgive me if this has been resolved already... I have an app that is using sendfile to return large files to customers. We can''t use regular Apache to handle this static content since the files are what the customers are paying for - so it wouldn''t be cool for anyone else to get access to them. The issue is that the mongrel mem footprint gets bloated when the files are
2008 Jun 23
1
Win32/Wine applications feeding Ubuntu 8.04/Apache 2?
Hi all, I just got to know about Wine, and I'm a newbie on Ubuntuy/linux as well, but I got so far as to test some apps I've made in Delphi if they work on Wine (and they do work). (A COM version of my app is about 120% slower on Wine than on XP/SP2, and without the COM stuff enabled (running in "integrated mode") my app is about 30% slower (very CPU intensive string
2006 Apr 11
0
Large file support (up and down) for Mongrel 0.13.3
I''ve just checked in changes to improve handling of massive posts and massive downloads. Generally speaking, Mongrel has been keeping everything in memory. (Unless you''re using DirHandler and have the sendfile gem in place.) Now, downloads should be pretty swift even without the sendfile gem. HttpResponse#send_file rips out the file streaming support from DirHandler and
2006 Apr 11
0
! camping 1.4
Okay, Camping 1.4 is out. gem install camping --source code.whytheluckystiff.net The only recent change is that the request body gets store in the @in variable as an open stream. It''s also okay to pass an IO object out of Camping. Lastly, Camping + Mongrel (SVN) now supports the X-Sendfile header. [1] Very swift and cool. _why [1]
2007 Sep 11
1
apche vhosts ldap
Hi all, i am building a web server on centos version 4 running httpd-2.0.52 mysql we have a ldap server on the network which has got all the vhost details. so i am trying to pull vhost details from the ldap server could not find module vhosts ldap for centos. can some one please point me in the right direction any help is much appreciated. cheers phani
2012 Oct 01
1
active_model_serializers, more than one level deep of associations, specifying serializers per association
I am assuming this an appropriate place to discuss this, but if it isn''t my apologies- just let me know. Just a Rails 4-ish thing. Am attempting to pull AMS (active_model_serializers), strong_parameters, and the "permitter" strategy that Adam Hawkins is using: http://broadcastingadam.com/2012/07/parameter_authorization_in_rails_apis/ Code so far is here (in the
2011 Sep 20
0
lookup failure after resume
Hi, I'm running tinc 1.0.16 on an Arch Box. After resuming the box from standby, tinc has problems to connect to other hosts: Sep 21 00:13:09 mytilus tinc.nwvpn[973]: Error looking up cardium port 6655: Name or service not known Sep 21 00:13:09 mytilus tinc.nwvpn[973]: Error looking up mactra.nord-west.net port 6655: Name or service not known Sep 21 00:13:09 mytilus tinc.nwvpn[973]: Error
2011 May 06
3
Rails 3 Routing problems
I have an UploadsController and UsersController where Users'' has_many :uploads'' via polymorphic attachment in uploads.rb. Now we i navigate to http://localhost:3000/users/1/uploads I get re-routed to Uploads#index and rendered is called multiple times as shown below: Started GET "/users/1/uploads" for 127.0.0.1 at 2011-05-06 22:00:38 +0100 Processing by