Displaying 6 results from an estimated 6 matches for "xsendfileallowabove".
2007 Nov 23
3
Mongrel+Apache 2.2 Proxy
...l-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}%{REQUEST_URI} -f
Rewrit...
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 rails application i have a streams controller and inside
streams contro...
2007 Dec 18
0
Using mod_xsendfile and x_send_file with Mongrel
...endfile/ 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
<Location />
XSendFile on
XSendFileAllowAbove on
</Location>
ProxyPass /images !
ProxyPass /stylesheets !
#continue with other static files that should be served by apache
Alias /images /home/user/myserver/public/images
Alias /stylesheets /home/user/myserver/public/stylesheets
#continue with aliases for static co...
2010 Sep 23
0
how to i force apche to handle download requestrunning apach
...ttpd.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 and i don''t want
rails to ser...
2010 Sep 23
0
how to do force apache to handle static request
...ttpd.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 and i don''t want
rails to ser...
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