Displaying 20 results from an estimated 10000 matches similar to: "Apache + fastcgi and rails in vendor"
2006 Jun 13
0
Yet Another Apache/FastCgi Setup Issue
I have set up FastCGI on the server and added 2 servers/processes and
increased the timeout from 30seconds to 60seconds. I _think_ I did
that properly because I now have to wait the full 60 seconds like
clockwork until I get the "Rails application failed to start" when I
browse to my URL. Before it was 30 seconds like clockwork.
When I run "ruby dispatch.fcgi" I get the
2007 May 08
1
Can't get Ruby on Rails with Apache and FastCGI
Hi!
Environment
=========
Solaris 10
Apache 2.2.0 with fcgid_module
Ruby 1.8.4
Rails 1.2.3
I am trying to get FastCGI working. Initially I used "dispatch.cgi"
successfully but when I switched to "dispatch.fcgi" I get
====================================================
Application error
Rails application failed to start properly
2007 Mar 01
0
FastCGI and Apache. Anybody know what can cause this error?
Does anybody know what could possibly be causing my error?
Somehow action_controller got into a state where it was retuning not
found for about 4 out of every 5 requests, seemingly arbitrarily.
Has anybody else ever experienced this? I''ve heard that apache and
fastcgi is not the best solution, do you think this is fcgi''s fault?
Could it be a bug in my ruby code? Could it be a
2006 Aug 16
0
Rails with Apache and FastCGI under Windows and strange errors
Hi,
I''m deploying a rails application under Windows (not my choice) using
Apache 2.0.59 (I''m stuck with Apache 2.0 since the customer wants a
single-signon solution)and FastCGI.
The rails application talks with an MS SQL Server (again, not my choice)
on a different machine.
And now, enter stage left: Strange Errors. Infrequently I get
"Rails Application Errors"
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 Apr 13
4
Apache/fastcgi setup can''t find custom config/*.yml file!
All,
Apache 2/FastCGI on Linux
My fastcgi config. file is set up to run the "test" RAILS_ENV.
When I go to access a view associated with a particular controller, I
keep getting a ENOENT (file not found) error on a custom config. file
that I am attempting to load.
What I can''t figure out is why it can''t find the file.
Here''s the code that loads it in my
2006 Nov 09
0
Apache configuration
i TRY TO CONFIGURE APACHE FOR RUBY ON RAILS ON UNIX.
BY THE FOLLOWING WAYl:
Install FastCGI
1. wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz
2. gunzip fcgi-2.4.0.tar.gz
3. tar -xvf fcgi-2.4.0.tar
4. cd fcgi-2.4.0
5. ./configure
6. make
7. make install
8. cd ../
Install mod_fcgid
1. cd ~
2. wget http://fastcgi.coremail.cn/mod_fcgid.1.09.tar.gz
3. gunzip
2005 Dec 20
1
trouble with fastcgi and "undefined method `is_cgi?''"
I''m trying to get started with fastcgi on apache 2.0.54 on Fedora Core 4.
I''ve created a really simple Rails app that doesn''t do any database actions.
It works fine when I call it as CGI, but when I try to switch to fastCGI, I
have problems.
I get the following error in log/fastcgi.crash.log:
[20/Dec/2005:10:16:53 :: 26912] Dispatcher failed to catch: undefined
2006 Jan 13
2
FastCGI problems
I''m having a lot of problems with my Typo install. My fastcgi fails horribly
after a reboot:
[13/Jan/2006:16:55:28 :: 19796] Dispatcher failed to catch: (Interrupt)
/usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each''
/usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi''
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in
`process!''
2010 Apr 03
0
Deployment problem with apache + fastcgi
Hi! I''m from Russia. It''s my first post in this forum. Execuse for my
bad language, but i hope you''re help me!
I try to deploy rails app on apache + fastcgi hosting.
.htaccess file contents:
AddHandler fcgid-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
2006 Apr 06
1
Strange message in fastcgi.crash.log
Hi,
I just installed Ruby 1.8.4 and Rails using the HiveLogic instructions
(I had been using Locomotive, and decided to make the big leap).
Everything seems to go well, I set up a simple test app and it does
run using script/server (using a sqlite3 database).
I am noticing that when I use Control-C to stop the server, I''m seeing
this message in the fastcgi.crash.log file:
2006 Feb 14
5
problem with apache
Hi!
I don''t know much about linux and apache configuration, so we''re using
cpanel on our server to manage accounts etc.
I was trying to install ror (according to this page:
http://wiki.rubyonrails.org/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel)
on our server, but it didn''t worked.
If i enter "server.com/rails" i get "/testapp/index.html was not
2006 Jan 26
0
fastcgi crash
My web browser won''t load/display a controller page. (It worked
yesterday.)
I''m getting this in my fastcgi.crash.log:
[26/Jan/2006:16:33:05 :: 29839] starting
[26/Jan/2006:16:37:18 :: 29839] Dispatcher failed to catch: (Interrupt)
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each''
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi''
2006 Jun 26
2
running lighttpd -> Recognition failed for "/"
i have tried several tutorials on the web for getting my app to run
under lighttpd and fastcgi..
my setup is fedora core 5..
i used this to get everything installed:
http://www.digitalmediaminute.com/howto/fc4rails/
but i kept getting errors, as the machine i am installing it is a remote
machine, i couldn''t get it to work right..
i next tried this:
2006 May 30
0
Performance problem with Apache-FCGI-Rails
We have our Rail 1.0 application running on Apache 1.3 with FastCGI. The
httpd.conf has :
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc
FastCgiServer /root/zs/public/dispatch.fcgi -processes 2
FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production
-idle-timeout 120
-maxClassProcesses 2 -killInterval 300
</IfModule>
The dispatch.fcgi is the default provided in the
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
Dears,
Thanks to Demetrius (dema.ruby.com.br, see Taming FastCGI) I''ve a
running FastCGI Rails 1.0 environment with :
- Win XP "Professional" (just brand name)
- Apache 2.0.55 (msi)
- Ruby for Apache 1.3.1
- Database backend is now Oracle 8.1
Everything run fine with default environment, I''m confused for
switching into ''production''.
By default
2005 Aug 06
0
Re: Error when going to Fastcgi.
I fixed that missing comma, now I get this error:
Processing Base#index (for 24.94.221.205 at Sat Aug 06 14:40:47 GMT
2005)
Parameters: {}
NoMethodError (undefined method `before_filter'' for #<Object:
0x80859b8>):
/app/controllers/loginadmin_controller.rb:1
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
18:in `require__''
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?
2006 Mar 13
2
Excessive Errno::EBADF with dispatch.fcgi
I''m running Ruby on Rails via FastCGI in an Apache environment, and I
get the following error, a lot.
(from log/fastcgi.crash.log)
[13/Mar/2006:15:52:51 :: 94704] Dispatcher failed to catch: Bad file
descriptor (Errno::EBADF)
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `close''
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `each''
2006 Jul 21
3
ROR - Apache - FastCGI / Can''t see stylesheets or javascript
Folks ...
I have been porting my app from dev environment on Webrick to Apache
with FastCGI. I have the app responding and pulling up the data, but it
is ignoring the "images", "stylesheets", "javascripts" directories
located in the public directory.
I''m running Apache under Suse Linux 9.x. Here is the information that I
have in my vhosts.conf file: