Displaying 20 results from an estimated 5000 matches similar to: "Apache, SSL, Mongrel and File upload question..."
2006 Apr 18
2
Implementing Globalize
Hello all,
I was wondering if any of you know some good documentation that
points out how to implement the Globalization plugin in your existing
application.
Also some text on how to use a cms like system with Globalization
(how to handle the population of the translated texts per item for
example)
With kind regards,
Gerard de Brieder.
Govannon.
tel : +31624739047
2006 Feb 06
2
Globalize plugin, now I have two classes with the same name
Hi, newbie here.
I''m using the Globalize plugin, which defines a model with the same
name as one of my existing models. We both use a model called
Country. The Globalize Country model (within vendors/...) is wrapped
in module like this...
module Globalize
class Country < ActiveRecord::Base
...
end
end
And this is my Country model (within app/models)...
class Country <
2006 Sep 22
3
Mongrel spinning on read_multipart
On Zed''s suggestion, I caught two new spinning mongrels and sent a
SIGUSR2. The code appears to be stuck in read_multipart for both processes:
# kill -USR2 6109
** USR2 signal received.
Thu Sep 21 14:55:39 EDT 2006: Reaping 1 threads for slow workers because
of ''shutdown''
Thread #<Thread:0x419d7ce0 run> is too old, killing.
Waiting for 1 requests to finish, could
2006 Mar 30
25
Mongrel Web Server 0.3.12 -- Finally Out
Hello Folks,
This is the long awaited (like 2 weeks) 0.3.12 release of Mongrel. This
release has received heavier testing than previous releases and supports a
whole raft of improvements to existing functionality plus some new stuff.
For those not clued in, Mongrel is a web server written in (mostly) Ruby.
Check the funny dogs and read the docs about it at
http://mongrel.rubyforge.org/. The
2006 May 24
0
Mongrel errors on file upload
I did a spike in my sandbox to make sure I understood how to do file uploads using CGI and there seems to be a problem with Mongrel. WEBrick doesn''t display the problem, but I can reproduce it everytime with Mongrel. I''d really appreciate it if someone would try out the code below and see if they see the same thing.
The browser behavior is:
- under IE6, a Page Not Found error
2006 Mar 14
5
Apache2 + FastCGI + SSL: File upload fails with HTTPS
All,
I have run into a road block with my RoR project. The app works fine
without SSL but when I try to upload a file with the site running in
HTTPS, cgi.rb throws an EOFError:
[13/Mar/2006:23:05:48 :: 22982] Dispatcher failed to catch: bad content
body (EOFError) /usr/lib/ruby/1.8/cgi.rb:981:in `read_multipart?
2008 Apr 05
1
Problems getting file upload to work on rails 2.0.2
Hey Guys,
I''m trying to upload a file to rails. I thought it would be pretty
straightforward but I''ve run into a peculiar bug... the form I''m using
is shown below and then the error message.... any suggestions or
diagnostic hints would be appreciated. I''m running rails 2.0.2 and ruby
1.8.6
<form method="post"
2006 May 15
0
Mongrel and ssl? behind Pound
I was about to write a long post about how I couldn''t get request.ssl?to work in Rails behind Pound and Mongrel, but then I figured it out.
In your pound.cfg file, just add:
HTTPSHeaders 1 "X-Forwarded-Proto: https"
Assuming you''ve got Pound working correctly with SSL, this will giveRails the header it''s looking for.
If there''s any interest in a Debian
2006 Jan 10
1
File upload via SSL not possible
We use an apache server (version 2.0.54) with mod_ssl and the latest
rails version on a Gentoo Linux OS.
We tried to run our application in both, a virtual host using HTTP and
another using HTTPS with identical server configurations. With HTTP, we
did not have any problem, but HTTPS did not allow us to upload files in
rails into a database.
The log file displays a fcgi timeout and the HTTP
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
2005 Dec 24
2
Textilize on ajax update
I''m writing a basic to-do
application. I''m using a form_remote_tag to submit the entry to my
controller, which then returns the entry to be displayed in the table
of to-do items. However, I''d like to be able to "textilize" the entry
without having to reload the page. Is there any way to have my ajax
function textilize the text before displaying it in the list?
2005 Dec 21
10
Globalize plugin
Is there any working example on using the Globalize plugin?
It could help alot
Thanks in advance
--
Alexander Antonakakis
email: alexis-+Saq9+MPrF0@public.gmane.org
2006 Aug 04
4
RSS feeds
Hi all,
Can anybody tell me how we can create RSS feed using Ruby on Rails.
How do I go about constructing this RSS file? Can I find an example in
any site?
regards,
Prasad
--
Posted via http://www.ruby-forum.com/.
2010 Mar 01
0
Upload progress bar with Paperclip, Mongrel, Apache
Hello all,
I''ve been looking now for several days for an easy to use progress bar
plugin or tutorial. I have Paperclip installed and it works great.
My production server runs on Apache and Mongrel.
It''s amazing that there''s no easy set up progress bar plugin or gem out
there. I have seen "SWFUpload", but that seems very complicated to
implement.
Thank you
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
2007 Apr 27
3
Image upload problem.
I''ve seen posts of a few people who have this problem, but not a single
response about solving it.
I can''t upload .png files, but .jpg and .gif work fine. When I upload just a
.png, my action gets a StringIO object which breaks when I try to copy the
upload to an absolute location. However, using multiple-field upload, as
long as one of the to-upload files is *not* a .png, all
2006 Jan 23
7
Globalize - Wiki down, docs down, status?
Hi,
Currently the wiki entry for Globalize
http://wiki.rubyonrails.org/rails/pages/Globalize+Plugin
http://globalize.diluvia.net is down,
--
Posted via http://www.ruby-forum.com/.
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 Jun 14
4
kiax - iax2 softphone
Has anyone on here used kiax before? I am asking because I have it installed
on several computers and have been able to get it to connect and register
to my Asterisk box. I can even call between them and my SIP softphones.
The problem I am having is this: when I use kiax to call someone else, they
get some kind of background music playing while I am talking to them. I have
called from kiax to
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