Displaying 20 results from an estimated 20000 matches similar to: "error message for too-large uploads"
2006 Mar 18
2
redirect killing dispatch.cgi
hi, having a maddening problem with a redirects between controllers.
app is working fine on my two local machines, a mac and a pc, with either
webrick and lighttpd/cgi on either machines.
i move it to my hosting provider and try to get it working with apache + cgi,
most of it works, but it fails at a specific spot, and causes dispatch.cgi to
hang indefinitely. nothing shows up at all in the
2006 Aug 07
0
image uploads not working with lighttpd
Hi I thought it was time to test my app out on a real server. So i have
installed lighttpd following the instruction on the rails wiki.
everything seems to work fine except the file upload page. It doesn''t
throw any errors, it just doesn''t seem to write the image to disk.
Nothing is printed to the lighttpd error log when the file upload fails.
I thought it might be my code
2006 Jan 31
2
lightpd / fcgi / RoR setup
Hi,
I''m running RoR and have set it up more or less like described in the
wiki (for instance here
http://wiki.rubyonrails.org/rails/pages/LighttpdWithProcessScripts).
I can start the fcgi listener and see that ports 7000-7004 are
listening. I can start lighttpd, and try to connect to the server. I
can restart the default.fcgi listening scripts that i see in "ps ax |
grep
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi,
I''m having difficulty getting ruby running via Lighttpd and fastcgi. My
lighttpd.conf reads:
server.port = 81
server.pid-file = "/tmp/test_lighttpd.pid"
server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi",
"mod_accesslog", "mod_simple_vhost" )
server.document-root = "/tmp/mis/public"
2005 Nov 19
3
file uploads with lighttpd-1.4.7 broken??
Hi guys,
Im doing fileuploads and it works great with webrick...I just installed
lighttpd 1.4.7 and ran ruby script/server suecessfully picking up my
lighty and fcgi install...
however...when I try to upload a file the proces either stalls (no
evidence of the hit in any logs) or returns 503....
any suggestions??
thanks in advance...
Mikkel
--
Posted via http://www.ruby-forum.com/.
2006 Sep 21
0
File uploads intermittent upon first form submission
I have Mongrel 0.3.13.4 running Rails 1.1.6 behind Apache 2.2.3 with
mod_proxy_balancer, mongrel_cluster 0.2.0 as per the documentation,
and mongrel_upload_progress 0.2, on Fedora Core 4. I''m using a
cluster of three Mongrels.
I have an existing app which allows users to upload files, and I''m
migrating it to Mongrel from Lighttpd. Uploading files via multipart
forms
2006 May 11
0
File upload works with webrick, but fails in lighttpd 1.4.11
I''ve been trying to add a basic file upload feature (just based on the
Rails Recipes example), but I find that it only works with the webrick
server and not my lighttpd 1.4.11 server.
I''m running Rails 1.1.2 on OSX. The upload silently fails with both
firefox and Safari, even with the useragent hack and with any size of
file/image. My lighttpd config is pretty standard as
2006 Mar 07
13
hosting multiple rails apps in one webroot?
It''s actually REALLY easy with lighttpd on linux.
Two apps...
Myserver.com/code/ => /apps/code/
Myserver.com/test/ +> /apps/test/
Each application needs this in the environment.rb
/apps/code/config/environment.rb
ActionController::AbstractRequest.relative_url_root = "/code"
/apps/test/config/environment.rb
ActionController::AbstractRequest.relative_url_root
2005 Dec 14
3
image upload (apache2.0+ lighttpd)
Hello all,
I use lighttpd 1.4.8 and I have a problem with image uploads.
I tried file_upload plugin, but it is strangely working sometimes and
refuse to work sometimes.
Function in the controller is (@user is loaded in before_filter)
def update_watermark
@user.watermark = params[:user][:watermark]
@user.save
redirect_to :action => "index"
end
Model is
2006 May 05
4
Is sanitize() strong enough to protect me from XSS?
Haven''t been able to find a good enough answer on whether using
sanitize() is enough to really protect me from XSS attacks
I basically have a blog page that I want to allow people to display
comments on but would like to allow html tags to be posted on the
comments, these could html tags like the imageshack img tags, youtube
player, photobucket img tags etc
any other approaches or
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 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys,
I hope someone can help me out. I am trying to configure two
applications to run on lighttpd and each app will have its own domain.
My machine is running on Fedora. When I run my lighttpd with the
following conf file, I get no error but when I check out my app, it
dishes out a 404 error- the 404 being served isn''t the 404 inside the
railsapp/public folder.
Do hope someone
2006 Jan 12
3
File Upload Problems With Apache and Lighttpd But Not Webrick...
I am having trouble uploading files through a form when using Apache
(production) or Lighttpd (development). The odd thing is that when I force
script/server to load Webrick, the upload works just fine on the same
code-base.
When it fails, the upload just sits there forever. Some browsers eventually
return an error code, others spin for a long time... Anyway, it never
recovers.
The file is a
2005 Dec 14
0
File upload (lighttpd + apache2_
Hello all,
I use lighttpd 1.4.8 and I have a problem with image uploads.
I tried file_upload plugin, but it is strangely working sometimes and
refuse to work sometimes.
Function in the controller is (@user is loaded in before_filter)
def update_watermark
@user.watermark = params[:user][:watermark]
@user.save
redirect_to :action => "index"
end
Model is
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX.
Everything builds fine (and webrick runs just fine) but lighttpd barfs:
edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$
script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown
2006 Oct 09
0
Large file uploads - performance improvement
Situation: Need to increase performance of large file uploads.
Hardware: Mac Mini Core Duo (1.66) with 1 gig of ram
Software: Mac OS X.4, Pens, Mongrel (cluster), MySQL 5.0
Large file uploads are now a concern. The Rails (internal) site has 20+
users of which 3-5 are active on the system at a given time. Whats the
best route for me to get a good performing system setup that can handle
large
2006 Apr 12
0
Managing large file uploads - best practice?
Hello everyone,
I''ve got an app where I need to give the user the facility to upload a
large-ish (up to maybe 10Mb) CSV file. I really don''t want to have to
deal with idiots uploading porn, /dev/zero, and whatever else they
feel I might appreciate - I want to eliminate everything that isn''t a
valid CSV file as quickly as possible in the upload process.
It''ll
2005 Dec 23
1
FastCGI and large file uploads
I use dreamhost for my hosting provider, and I am working on app where
it requires large files (max 10 MB) to be uploaded to the server. As
of right now the fastcgi processes are configured with:
FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production \
-idle-timeout 120 -maxClassProcesses 5 -killInterval 300
My problem is that I try and upload a file via the web that is around
5 MB
2006 Jan 14
11
nuby: do models have to inherit directly from ActiveRecord?
Hello,
I have a few models -- book, cd, dvd -- for which I''d like to have an
abstract base superclass to hold some common stuff. That abstract class, I
was thinking, would inherit from ActiveRecord.
Didn''t work, though, and looking around, I found this:
<http://wiki.rubyonrails.com/rails/pages/HowtoMakeAbstractModel>
2006 Jul 14
4
Rails Lighttpd Issue on Fedora
Hi guys,
I''m here again with a problem. I have a rails app called brewed. It''s
located /home/user/brewed. My lighttpd.conf is located at
/home/user/lighty. When I execute lighty on port 80 with:
/usr/local/sbin/lighttpd -f /home/user/lighty/lighttpd.conf rails seems
to work fine.
If I type www.mysite.com/main/index on my browser, the page comes out
well. I have my files