Displaying 18 results from an estimated 18 matches for "mod_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>
ServerName myserver.com...
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
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 Jun 10
6
Securing private file area
I''m building an application for a company that has thousands of clients, and
for each client there will a set of documents that are private to that
client. Rails makes it easy, of course, to show the list of documents on a
per-client basis, using acts_as_authenticated and using current_user as part
of the find any time a document list is displayed.
The part for which I''m looking
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/
ProxyPa...
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
2006 Apr 11
0
Large file support (up and down) for Mongrel 0.13.3
...ed in a Tempfile. Currently, it''s set to the same size as
MAX_HEADER.
I''ve added to the test_response.rb appropriately. I''ve tested the
DirHander and CampingHandler. I''m going to test out the Rails handler now.
_why
[1] http://celebnamer.celebworld.ws/stuff/mod_xsendfile/
[2] http://trac.lighttpd.net/trac/changeset/1097
[3] http://www.lighttpd.net/documentation/upload-progress.html
2006 May 14
3
send_file and locking files after download?
Hello,
I''m working on a download service which grants users a one-time-download
access to files. The idea is to write an entry to a database table after
a successful download that "locks" the download link for the user.
After doing some quick tests with send_file I noticed that send_file
does not block until the user has downloaded the full file, but proceeds
with the
2006 Apr 11
0
! camping 1.4
...y 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] http://celebnamer.celebworld.ws/stuff/mod_xsendfile/
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....
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 `LoadModule'' directive already has to exist..
I tried to load this module manually from /etc/apache2/apache.conf but
apache2 fa...
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....
2010 Sep 23
0
how to i force apche to handle download requestrunning apach
...hese 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 have to downlaod large stream...
2010 Sep 23
0
how to do force apache to handle static request
...hese 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 have to downlaod large stream...
2006 Dec 21
6
Rails'' send_file, Mongrel, and *gasp* memory
I''ve had a right fun few days at work trying to figure out why our Rails
app (which isn''t under very heavy load) kept eating memory and bringing
our server to our knees. Eventually I traced it to send_file (which was
in a way a relief as it wasn''t down to my coding ;) -- every time a user
started downloading, the memory consumed by the app would jump, and
2007 Feb 27
2
send_file and ZIP files
I have an application which uses send_file to send a ZIP file to the
client. This works nicely when it''s run on our development OS-X
boxes, using mongrel from script/server, but on our production
server, using mongrel behind Apache 2.2. with mod_proxy_balancer, the
client gets 1 byte delivered :-(
If I use wget -S to the URL in order to see the full headers I see
this on
2006 Aug 29
15
Setup with Apache 2.2 proxy balancer : timeout during uploads
Hi all,
I encounter timeout errors during file uploads in my Rails application.
I think the problem may be in the Mongrel configuration. Here is my setup:
* Load balancer (Cisco CSM, my provider''s Catalyst 6509)
* Apache 2.2.3 with mod_proxy_balancer
* Mongrel 0.3.13.3
* Rails 1.1.6
* Ruby 1.8.4
* MySQL 5.0.22
* file_column
I host an application in which users may upload medium files
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