Displaying 20 results from an estimated 20000 matches similar to: "backquotes/system in Apache f/cgi"
2006 May 26
1
Kernel#system Kernel#` - Is anyone using these in Rails?
Since my previous question didn''t get much attention, I thought I''d make the
subject more expressive. I didn''t realize the list had this much traffic.
Is anyone using system or "backquote" to run commands in Rails? These work
fine in webrick, but both return nil when running in Apache FCGI. In CGI
mode, system seems to work, but backquote doesn''t.
2006 May 30
3
more fcgi problems on apache
I''m having tons of problems with fcgi on apache2. The app didn''t
crash over the weekend when it wasn''t used. I ran it this morning and
it was fine. It''s an inhouse app so it wasn''t used for 3 days over the
weekend. It did however crash today. Does this sound like a bad fcgi
setup or just a very buggy fcgi/Apache combo?
Charlie Bowman
2006 May 30
0
[Fwd: Re: more fcgi problems on apache]
Sorry if this get listed twice. Evolution hates me today.
-------- Forwarded Message --------
From: Charlie Bowman <charlie@castlebranch.com>
To: rails@lists.rubyonrails.org
Bcc: Drew Stinnett <drew@castlebranch.com>
Subject: Re: [Rails] more fcgi problems on apache
Date: Tue, 30 May 2006 15:43:09 -0400
The decision isn''t mine. I''m just the programmer. This is
2006 May 17
1
Fast CGI
OK, I finally have Apache configured however the app seems very slow. I
am hoping I can speed it up by using fast cgi. I am having not able to
install the fcgi gem. Below is the error I get when I try. Any help on
this subject would be much appreciated.
sudo gem install fcgi -r -- -with-fcgi-lib=/usr/local/fcgi/lib
--with-fcgi-include=/usr/local/fcgi/include
Attempting remote installation
2008 Nov 07
6
How to spec a (Trollop-based) binary’s internal state?
I?m trying to spec a ?binary?, and as previously discussed on this list,
I?m trying to do it ?from outside? ? i.e., by calling it with Kernel#`
and observing the (side-)effects.
Unfortunately, this doesn?t really let me spec expectations about its
internals. Let?s assume I have a -d flag and I parse it with Trollop to
set Conf.debug:
opts = Trollop::options do
opt :debug, ''Print debug
2007 May 26
1
Application working with CGI but not with FastCGI
Hi,
I have started rails some week ago. I have deployed my application to
production sever which is a shared host with FastCGI enabled. This
application is actually Radiant CMS and working fine if I am using
dispatch.cgi. But whenever I use dispatch.fcgi the browser takes a lot
of time and finally it stoped with blank screen - no error. I have
created a simple test application but the same problem
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
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
2006 Apr 03
1
Setting up FastCGI for RoR under Apache 1.3.34
All,
I have all of the components that I need to install RoR under FCGI for
Apache 1.3.34. I have:
mod_fcgi 2.4.2
fcgi 2.4.0 (developer''s kit)
ruby-fcgi-0.8.6
I am comfortable up to the point of installing mod_fcgi, however, I
don''t understand how fcgi and ruby-fcgi will be used by mod_fcgi.
How does mod_fcgi connect to fcgi and ruby-fcgi. I assume that there
are
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
2018 Mar 05
0
backquotes and term.labels
I believe this has to do terms() making "term.labels" (hence the dimnames
of "factors")
with deparse(), so that the backquotes are included for non-syntactic
names. The backquotes
are not in the column names of the input data.frame (nor model frame) so
you get a mismatch
when subscripting the data.frame or model.frame with elements of
terms()$term.labels.
I think you can
2005 Jul 28
1
Rails+Apache 2+FastCGI on Fedora Core 3 Linux: Has anyone got it working well?
Hi All,
I have a Rails application that needs to be served from a
Fedora Core 3 Linux server. The application runs well as a
"plain" CGI application.
My next step was to speed things up with FastCGI installed
via "gem install fcgi". (version 0.8.6.1).
That approach lead to this error in the fastcgi.crash.log:
Dispatcher failed to catch: undefined method
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts,
I have rail site that is running lighttpd and fcgi. I want the default
domain to serve the rails application, and I also want to have a
virtualhost (bugs.mysite) to resolve to a bugzilla instance.
Bugzilla is basically Perl application called through CGI.
I tried to find pointers on how to set fcgi to run both rails dispatcher
and other cgi scripts in a different virtualhost, and
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
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
2018 Mar 08
0
[EXTERNAL] Re: Fwd: Re: Re: backquotes and term.labels
That's more or less right. We wrote a terms.merMod method, which
accesses the terms component of the @frame slot, which we have modified
upstream ...
Do you mean term.labels rather than term.names?
BTW ?terms.object says (under the "term.labels" element):
Non-syntactic names will be quoted by backticks: this makes
it easier to re-construct the formula from the term
2006 Aug 04
0
Proxy from Apache to local Lighttpd instance
Hello,
I''m having a serious problem proxying from Apache (2.2) to local Lighttpd
servers. I need this to run Rails instances on www.mysite.com/rails next to
the regular part from www.mysite.com.
Currently I get a working www.mysite.com/rails for only the first page,
controllers do not work. I am quite desperate in getting this to work as it
is the only way I can run Rails at our
2005 May 26
1
No response from Apache 2 / fcgi / rails...
Hello! I''m struggling here with getting Typo running on a Red Hat
server under Apache 2 / fcgi... Every time I try to load the public
home page, I get this in my error log:
[Thu May 26 00:20:52 2005] [error] [client 24.22.74.233] FastCGI:
comm with (dynamic) server "/home/httpd/vhosts/brigleb.com/httpdocs/
public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
2005 Mar 05
1
How to provide Rails hosting on Apache/FastCGI enviroment?
Hi, folks.
I am running a small Web Hosting service personally.
I hope to provide rails service on apache/fcgi to my hosting
users. So, I''ve been testing to setup rails application, and
there was no problem. But with Rails version 0.10.0 release,
previous way doesn''t work.
Following is a scenario which worked well before, but now beats me.
1. Eric has his own rails directory
2006 Mar 12
4
Apache not running Fcgid
I''m having the same problems as this fellow, Mr. Cheetham, in getting
my rails app up and running on apache2+fcgid. Webrick runs, but
dispatch.fcgi never actually runs, and apache spits out a grusome
"Premature end of script headers: dispatch.cgi" error message in the
log. Mr. Cheetham describes his problem at
http://www.archivesat.com/Typo_blogging_engine/thread164398.htm
I