similar to: Apache configuration for using plugin Xsendfile

Displaying 20 results from an estimated 200 matches similar to: "Apache configuration for using plugin Xsendfile"

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>
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]
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/ ProxyPassReverse / http://localhost:3000/ </VirtualHost > now in my
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/.
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
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
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
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
2009 Jan 28
0
X_send_file download 1byte file instade of original size
i m using x_send_file pluggins and download file then only 1byte file is downloaded. in Controller x_send_file("#{RAILS_ROOT}/public#{params[:file]}") if you have idea for this problem so give me a solution -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
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 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
2008 Sep 02
1
Unable to compile mod_jk on Centos 5.2 64-bit
Hi Friends, I am trying to compile mod_jk on Centos 5.2 64-bit but I am getting apxs not found. Whereas apxs is already there on the server type apxs apxs is /usr/sbin/apxs ./configure CFLAGS=' -arch x86_64 ' APXSLDFLAGS=' -arch x86_64 ' --with-apxs=/usr/sbin/apxs checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu
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
2006 Nov 02
8
MogileFS handler
Hello, I''ve been using NFS for sharing files across a cluster of servers but I''ve had a lot of problems with that. I''m planning to move to MogileFS which seems to be more stable and more adapted to this usage (lots of user uploaded files). I wonder if someone has already worked on an integration of MogileFS into Mongrel (and Rails app) for serving the files ? If not, I
2007 May 29
2
Stream rubyzip
I have a Rails 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. --
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 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
2007 Oct 17
0
svn access via apache with ntlm authentication
My setup : Debian Etch i386 httpd-2.0.61 configured with the following command "./configure --prefix=/opt/httpd-2.0.61 --with-mpm=worker --enable-so --enable-dav=shared --enable-unique-id=shared --enable-version=shared --enable-ssl=shared --enable-info=shared --enable-cgi=shared --enable-rewrite=shared --enable-cache=shared -- enable-disk-cache=shared --enable-deflate=shared"