search for: xsendfil

Displaying 19 results from an estimated 19 matches for "xsendfil".

Did you mean: xsendfile
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...
2010 Sep 27
0
problem when downloading files with xsendfile
Hii All, i loaded mod_xsendfile.so in apche , i added few line in httpd.conf files LoadModule xsendfile_module modules/mod_xsendfile.so XSendFile on XSendFileAllowAbove on <VirtualHost * localhost:80> ServerName src DocumentRoot C:/InstantRails-2.0-win/rails_apps/src/public/ ProxyPass / http://localhost:3000/ ProxyP...
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...
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 wrong? Note:...
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 to allocate memory error. what is the problem?? Thanks -- Posted via http://www.ruby-forum...
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 to allocate memory error. what is the problem?? Thanks -- Posted via http://www.ruby-forum...
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
2007 Nov 23
3
Mongrel+Apache 2.2 Proxy
...ading a small xml-file. The log message in apache looks like this [21/Nov/2007:15:56:15 +0100] "POST /archivefiles/173688 HTTP/1.1" 404 - .. and the vhost <VirtualHost *:8080> #Fix for Apache bug 39499 SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 XSendFile on XSendFileAllowAbove on RewriteEngine On # Check for maintenance file. Let apache load it if it exists RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f RewriteRule . /system/maintenance.html [L] # Let apache serve static files RewriteCond %{DOCUMENT_ROOT}...
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> ServerName myserver.com...
2007 May 29
2
Stream rubyzip
...s app that needs to create a Zip archive of a folder and send it to the client''s browser for download. I have no need for the Zip file on disk, so ideally, the Zip is created and streamed "on the fly". Is this possible? If not, I''ll create a temp file and send that via xsendfile, but I''d rather avoid the extra (unnecessary) step if I could. -- 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 thi...
2007 Dec 18
3
Mongrel + Lighttpd
Hi guys, I''ve been chasing a problem in my web-stack: Lighttpd -> Mongrel -> Rails, and found a problem with the interaction of Lighttpd and Mongrel. If a request takes more than 5 seconds, Lighty will retry it - and then the requests / responses get mixed up in Lighty and it returns a bad response to the client. Not good. I''m convinced that the problem is
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
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 Pr...
2010 Sep 23
0
how to i force apche to handle download requestrunning apach
...end 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 XsendFileAllowAbove on <VirtualHost *:80> ServerName src DocumentRoot C:/InstantRails-2.0-win/rails_apps/src/public/ ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000 </VirtualHost> Now in my application i...
2010 Sep 23
0
how to do force apache to handle static request
...end 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 XsendFileAllowAbove on <VirtualHost *:80> ServerName src DocumentRoot C:/InstantRails-2.0-win/rails_apps/src/public/ ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000 </VirtualHost> Now in my application i...
2012 May 03
6
Hosting application on private network.
Hi, I have a Ruby on Rails application. I am able to run it in my local system using Apache2 server. I would like to host my application so that all the systems in the private network 192.168.3.0/24 should be able to access the web-application. My system private-ip is 192.168.3.57. Please help me what all configurations do I need to do. Thank you Ajit -- Posted via
2007 Sep 13
2
streaming video with mongrel
Hi, on my site I have several screen casts (using flash video flv) in addition to the normal rails application which is the core service, my setup is apache proxy/balancing to 2 mongrels. I was thinking I should probably not be serving up streaming video from mongrel as it will occupy the mongrel processes for long periods of time right? So I was thinking of excluding a directory from
2008 Oct 27
8
why can't johnny download?
I''m working on an app that includes the feature to allow user to download a csv file of their data. I''ve got it working on my local machine, but when I deploy it, the link I''m making doesn''t work for doing the download. The file IS being created in the location I''m intending, but the file download only works on my local machine and not on the server.
2007 Nov 05
29
Mongrel and memory usage
Hello, I''m running a Rails application which must sort and manipulate a lot of data which are loaded in memory. The Rails app runs on 2 mongrel processes. When I first load the app, both are 32Mb in memory. After some days, both are between 200Mb and 300Mb. My question is : is there some kind of garbage collector in Mongrel? I never see the two Mongrel processes memory footprint