Displaying 20 results from an estimated 1000 matches similar to: "Apache2 + FastCGI + SSL: File upload fails with HTTPS"
2006 Jan 14
1
BUG: HTTP body content get parsed in PUT call
I''m developing a Rail application to accept data upload using HTTP PUT
call. Support for PUT in Rails seems to be broken in query params
parsing. I have a patch to fix the problem, but I''m not sure if it is
the "right" solution. Can some Rails developers take a quick look? I
can really use some help. :-)
Here is the evident of broken param parsing.
Processing
2006 Mar 06
0
fastcgi upload - multipart problem
Hi,
I''ve got multipart request with 1 file upload form problem.
I''m using suse 10 basic installation :
-ruby 1.8.2,
-rubyfcgi 0.8.6-5,
-apache 2.0.54,
-apache2-mod_fastcgi-2.4.2-4
When starting whith webrick, my application uploads files
correctly.When using both cgi or fastcgi, browser runs forever with
files greater than 5kb.
fastcgi
2006 Sep 30
0
ActionPack CGI and Ruby 1.8.5
I know 1.8.5 isn''t officially sanctioned but something has changed in
it that is breaking the ActionPack unit tests for cgi.rb. Wasn''t able
to trace if it''s something in Rails that needs adjusted or if cgi.rb
picked up a bug.
The first run is the default OS X ruby 1.8.2, the second run is ruby
1.8.5
rsilvas-computer:/srv/rails/trunk/actionpack rsilva$ /usr/bin/ruby
2006 Jul 19
4
Rails crashes my fcgid/fastcgi/scgi on apache2/lighttpd :<
Or maybe I crash it and don''t know why. Here is the setup:
I have an action that will crash my debian sarge development box
using fcgid, fastcgi and scgi running with Apache2, as well as
fastcgi running with lighttpd, every time. Here is the action from
the controller:
-------------------
def crashme
@orders = Order.find(:all, :order => "`id` ASC", :offset
2006 Aug 16
3
problems with fastcgi, apache2 and debian sarge
Apache conf:
FastCgiServer /var/www/gissmoh.de/public/dispatch.fcgi -initial-env
RAILS_ENV=prod
uction -processes 5 -idle-timeout 60
<virtualhost 212.87.142.234:80>
ServerName www.gissmoh.de
DocumentRoot /var/www/gissmoh.de/public
CustomLog /var/log/apache2/gissmoh.de/access.log
combined
SetEnv RAILS_ENV production
2008 Feb 07
2
FAILSAFE error with uploads
I''ve just upgraded a production web site with some new code to handle
file uploads, using both the standard post technique and swfupload.
This code was working perfectly in my development environment, and I''m
not sure what I should ever start to look for. Here''s the stack dump:
/!\ FAILSAFE /!\ Wed Feb 06 19:13:41 -0700 2008
Status: 500 Internal Server Error
2008 Apr 07
0
Crash uploading file on HTTPS/SSL rails project
Hi all,
I''ve a rails project which successfully uploads images on the
development server but fails to do it on production. The only difference
is that the production server is on https/ssl.
On the browser the error message is the followin:
''Application error
Rails application failed to start properly''
Whereas in the log/fastcgi.crash.log i found the followin error
2006 Apr 21
8
FastCGI: Apache 1.x or 2 on new Debian System?
Hi,
I am just installing a new test environment, but this is just for
preparing the next one, which will be a production server.
I am doing a clean Debian Sarge 3.1 install with stable sources. I have
to decide if I install Apache 1.x or 2 now.
I have read that FastCGI is better supported/developed for Apache 1.x.
Is this (still) true? What is easier, more stable, etc? I want to run
rails
2006 Jun 15
12
RoR on Apache2
Hello,
I''ve been going though the "4 Days on Rails" tutorial at
http://rails.homelinux.org/ test-driving ruby on rails using the WEBrick
server without problems. I''m trying to move the app to be seen by
apache2, and am having some troubles. I''ve looked through many guides
online which all say pretty much the same thing, which, I think, I am
doing.
2008 Jun 12
7
Problem uploading files (possibly an OS X issue?)
I have a running Rails application that uploads files back to the
server occasionally. I recently switched my development machine from a
Linux box to OS X 10.5, using the Apache server built-in on OS X and
mod_fcgid. I thought everything was fine until I recently tried to use
the file upload feature. If I specify a reasonable sized (164 Kb) file
for upload then I get an immediate error, before my
2006 Sep 19
9
RoR with apache2 on SuSE
Hi,
I have an application completed that was built with RoR on windows. So
this of course was tested with the webbrick server. I now want to put
the project on our apache web server for production. I am having a very
hard time getting this accomplished. I followed some of the steps here
(because not all of them worked):
2006 Apr 10
1
LoginEngine 1.0.1
Hi,
The LoginEngine has been updated to 1.0.1.
Notable changes:
* User model now does very basic email validation
* All tests now pass on both Rails 1.0 and 1.1
* Many bugs fixed!
Please refer to the Engines documentation for how to update.
http://www.rails-engines.org/download
The subversion URL for the tag is:
http://svn.rails-engines.org/login_engine/tags/rel_1.0.1
= v1.0.1
* Added
2006 Jul 28
1
multipart/form-data support for Camping Apache/FastCGI
sorry I broke it for mongrel, but the programmer who did the work for
mongrel should not have much problem integrating the two I think. Apache/CGI
is different and still will not work.
I fuck around for a full day at the end of the day, I found Iowa another web
framework and I try using their code
but using Iowa::Request.new.read_multipart was more confusing than anything,
although it helped me
2002 May 07
0
rsync on cygwin: can't access mapped network drive remotely
I posted this message to the cygwin mailing list, but I thought I'd try it
here too...
flip
---------------------------------------------------------------------
Hello, I am using rsync 2.5.5 protocol version 26 with cygwin 1.3.10-1.
When I connect to a directory that resides on the computer, everything works
great. When I connect to a directory that is a mapped UNC drive, rsync
2006 Mar 08
3
mod_fcgid first request slow
I have posted this before with not much response so I am posing the question
again. Is there a solution for this very apparent issue with mod_fcgid that
the "First connection is incredibly slow". It seems its b/c mod_fcgid
doesnt keep at least 1 persistent connection around that this first
connection needs to start up and then every other request is fast.
Is there a solution to this?
2006 Jul 28
4
[mod_fcgid] 503 server temporarily unavailable
Hi There,
Every now and then, and recently more and more we get a "503 server
temporarily unavailable" error from our rails app.
We are running Rails 1.0 with mod_fcgid in Apache 2.0.54 on Debian
The thing is I don''t think we have such a heavy load on the server, and
I haven''t seen this error occur at all outside the rails app. In fact I
don''t think I ever
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello,
I have a gentoo system that I am trying to remotely develop rails
applications on using apache and fcgi. I created the simple hello world
example from Dave Thomas'' book to test the system and I receive an
"application error" when I try to go to the page. I can startup webrick
and use links to view the page just fine, but nothing doing through
apache.
I have
2006 Jun 16
12
FastCGI times out?
Hello there,
So I''m still struggling with this fastcgi stuff. I''m trying to upload and
process a decent sized ZIP file, but the request dies before it finishes and
I get the following error:
FastCGI: comm with (dynamic) server
"/Users/ryan/Workspace/rails/photos/public/dispatch.fcgi" aborted: (first
read) idle timeout (30 sec), referer: http://photos/album/new/4
2005 Dec 21
1
Engines Generator & Howto Extract an Engine
= Engines Generator =
Now part of the Engines plugin, you can generate your very own engines.
$ script/plugin install engines
$ script/generate engine MyEngine
= Howto Extract an Engine =
I have also written a little documentation on how to extract an engine
out of an existing application:
http://rails-engines.rubyforge.org/wiki/wiki.pl?ExtractAnEngine
= Changelog =
2006 Apr 09
18
I can''t get mod_fcgid to work
Hi,
I just installed mod_fcgid on my apache2 server.
When I try to load my application I get an
"Application error - Rails application failed ..." message.
In my Apache2 error-log it says:
Premature end of script headers dispatch.fcgi
mod_fcgid process /data/www/app/dispacth.fcgi exit (communication
error),
terminated by calling exit(), return code 1
Any help with this would be