Displaying 20 results from an estimated 213 matches for "scgi".
Did you mean:
cgi
2006 Feb 23
5
Running apps in subdirectories using lighty/scgi
Hi,
So thanks to Zed I was able to get lighty/scgi and a Rails app running.
I know this might not be the best place to post this, but I guessed
there may be several others with similar experiences here.
So, the following step is to have several apps each in its on
subdirectory. I tried the following to no avail:
$HTTP["url"] =~ "...
2006 Jan 27
5
Multiple Apps running under Lighttpd with scgi on a Windows Box ... possible?
I''ve run into a problem on one of my development machines. I''m trying to
run multiple rails apps on one dev machine that runs Windows. Problem is
that is seems that I can only run one scgi_service at a time, meaning
that only one of my apps will function at a time. Anyone know how I can
get around this, other than getting a *nix box (which I should have
soon, hopefully) ?
Lighttpd.conf (part of it):
var.test= "C:/Rails/Test"
$HTTP["host"] == "test"...
2006 Feb 23
5
Help with SCGI please :(
Hi,
While learning Ruby and Rails, I decided I just as well learn Linux
along the way... It''s been fun, but I''m stuck at one of those
exasperating moments... I hope someone can help me :)
I installed Ruby 1.8.4 on Fedora Core 4, then Rails, then lighty, and
then SCGI.
I used yum to install lighty... and it already comes with mod_scgi.
I created my first application in /home/tango/ and I configured lighty
using the instructions here:
http://www.zedshaw.com/projects/scgi_rails/lighttpd.html
However, when I try to start lighty, I get the following error:
(mo...
2005 Nov 15
11
Collecting thread: Too many open files (Rails+SCGI crash)
I have a problem with running Rails 0.13.1 with scgi_rails 0.4.3 and
Apache. After running for some time (more than a day), the SCGI
process stops with the following error (from scgi.log):
--
[ERR][24189] Collecting thread: Too many open files
[ERR][24189] /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:188:in
`accept''
/usr/l...
2005 Dec 01
12
Difficult process of restarting SCGI, Lighttpd, Apache, sessions
I''ve managed to get Rails working using Apache->Lighttpd->SCGI. Restarting everything is really
difficult. This appears to be the process:
- stop apache
- stop lighttpd
- stop scgi
- make sure scgi still isn''t running (it sometimes does) - if it is, kill it
- delete all session files (they often cause permission errors)
- start scgi
- start apache
-...
2006 Feb 28
6
scgi+lighttpd+windows - why wont it work?
two problems, pls help...I''m under big pressure at work to fix this!
I''m having trouble getting scgi and lighttpd running on windows - here''s
what I did:
On Win XP, I installed ruby, rubygems, and setup my rails app. All works
fine with webrick.
I then did: gem install cmdparse and gem install highline (as required
for the scgi_rails gem according to
http://www.zedshaw.com/projects/...
2006 Apr 03
12
scgi?? do i need it for ruby?
This might be obvious to everyone but it is something that i haven''t
been able to find an answer to. Do I need to have either
scgi/fastcgi/cgi running on either lighttpd/apache for ruby scripts to
work? If yes, why? I have installed the scgi server and i can get the
service to run, i have also installed the following mod_fastcgi/2.4.2
mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) mod_scgi, but i still can''t run my
rails c...
2006 Jan 11
10
Recommend server for developing RoR on win
Hi all,
can you recommend me which web server config to use for developing rails
on windows machine. I tried webrick, which is good but it''s annoying
because console window is in taskbar for every site running and it have
to be started manually. Apache with CGI is to slow and using FastCGI on
the other side brings me lot of problems, like randomly not working RoR
sites.
Any help is
2005 Jun 18
9
lighthttpd mod_scgi
I see that lighttpd 1.3.14 supports SCGI.
lighttpd 1.3.14 - 2005-06-15 18:10
Changes
-------
* added SCGI support via mod_scgi
* added hash-based and round-robin load balancing to mod_proxy
* fixed range requests larger than 2Gb
* fixed compilation on Solaris
* fixed endless loops in mod_fastcgi, mod_cgi and mod_proxy...
2006 Feb 22
1
Urgent help needed
Hi,
I''m on Apache 2.0.54, Linux Fedora Core 2 with Plesk.
I installed a Rails application previously on the box using SCGI and
it works fine; even now.
I''m trying to get a second app online and it fails. Same config,
except for the SCGI runner ports of course.
It looks like the error comes from the fact that the mod_rewrite
loops. WHY ???
BTW : I have to put this app online ASAP.
Here''s my ....
2006 Mar 31
2
AAARGH! Need some fresh eyes to look at this pls
I just switched my rails app over to production mode, couldn''t get it
working, switched it back to development mode, and now nothing gets
outputted in the browser. I''m sure I''ve missed something in the configs.
Setup: Lighttpd/SCGI on WinXP, Rails 1.0.
Environment.rb:
ENV[''RAILS_ENV''] ||= ''development''
require File.join(File.dirname(__FILE__), ''boot'')
Rails::Initializer.run do |config|
end
database.yaml:
development:
adapter: mysql
database: extranet
username: xx...
2006 Mar 04
5
Correcting Bent Records: Mongrel is not SCGI
Hi,
I kept getting a very weird question about Mongrel
(http://mongrel.rubyforge.org) and SCGI that I think really needs to be
cleared up:
** Mongrel is not SCGI and will never need, use, require, or interact with
SCGI (unless someone wants to write the handler for it). **
For some reason people have been under the impression that Mongrel actually
uses or interacts with my other project SC...
2006 May 26
0
SCGI + Lighttpd + SSL crashes - fine without SSL
[ERR][17968] Handling client: can''t convert nil into
String
Hi,
We decided to go with SCGI + Lighttpd for Rails at our
company and had no problems with the initial setup.
Everything ran fine and was fast. However, problems
occurred when we tried to rebuild Lighty with SSL
capabilities. With this build, even with SSL off in
the config file the application fails on the first
request. W...
2007 Jan 09
0
Production Mode with SCGI
Hi,
I have an application running on Apache SCGI (Win XP). Once I run it in
production mode (scgi_ctrl config -S -e production ) I''m getting
stack trace instead of HTTP status 500 (Application Error) and the
error is logged production.log. The application works fine without
SCGI. Your help is highly appreciated....
Thanx
/* production.l...
2006 Mar 12
2
InstantRails works with WEBrick, fails with SCGI
I have an app that I''ve been developing for some time with RADRails and
WEBrick locally. I wanted to take it to Apache and following the
following steps:
1) Downloaded and extracted InstantRails.
2) Started and tested cookbook with SCGI. Works great.
3) Copied my app over to rails_apps directory.
4) Added a virtual host to Apache identical to cookbook (just using port
9999
with cookbook shutdown) and:
ServerName www.myrailsapp.com
# handle all requests through SCGI
SCGIMount /dispatch.fcgi 127.0.0.1:9999
Docum...
2005 Oct 19
35
Why you MUST use SCGI for Rails development
Hello happy Railers,
I used to develop with a local out-of-the-box Apache and load times were
pretty slow (like a few seconds each page). "Well, it''s the price to
pay for no compile / cache / etc..." I thought. Nonsense. Yesterday I
installed SCGI, and now I''ve got the best of both worlds: rails
development env uses my very latest modifications, while SCGI ensures I
don''t pay Rails start-up cost each time. As a bonus, it'' a breeze to
setup.
Bottom line :if you''re doing Rails development with Apache, you...
2005 Nov 21
10
Anybody using SCGI in production?
Or does anybody prefer fastcgi/fcgi? I''m using webrick for development, but plan on using scgi
when I switch to production (because it appears to be an update to fastcgi, and I couldn''t get
fastcgi working anyhow).
thanks
csn
__________________________________
Yahoo! Mail - PC Magazine Editors'' Choice 2005
http://mail.yahoo.com
2006 Mar 07
0
production.log says status 200, browser says 500?
...equest. The operation completes according to the log and the log says
that it returns http status 200. Sometimes an error message is written
after the 200 log message (included at the end of this message). But the
browser get a status 500 from the Apache server. We''re using Apache with
SCGI on Windows doing this and my guess is that the error lies somewhere
there (it works using Webrick in dev environment).
What should we do to correct this? Is there a setting in Apache or
perhaps in the SCGI to fix this?
/Marcus
Errno::EINVAL (Invalid argument):
d:/ruby/lib/ruby/gems/1.8/gems/...
2006 Feb 15
0
Lighty/SCGI: not found: /dispatch.scgi
I have a ton of these in my Lighty error log:
2006-02-15 15:55:53: (connections.c.1383) Warning: Either the
error-handler returned status 404 or the error-handler itself was not
found: /dispatch.scgi
2006-02-15 15:55:53: (connections.c.1385) returning the original status
404
2006-02-15 15:55:53: (connections.c.1387) If this is a rails app: check
your production.log
And I guess it''s normal since the way to set up scgi is for it to be
Lighty''s error-handler (I''m not...
2006 Jul 28
4
SCGI + Rails at System Startup
All of the documentation for scgi_ctrl says to run it from your Rails
app directory, and I can''t get it to run from a single command line like
you would in a system startup script.
I''ve tried:
scgi_ctrl -c /www/myapp/config/scgi.yaml start
...but that just errors out unless I run it from within the root of my...