similar to: Problem with RubyOnRails + SCGI + Apache

Displaying 20 results from an estimated 1000 matches similar to: "Problem with RubyOnRails + SCGI + Apache"

2006 Aug 14
0
SCGI on Apache 2 send_file Error
Hi, My program send s PDF file to the browser using send_file. Everything works fine in Webrick but when I switch to SCGI/Apache, the PDF file just does not get streamed to the browser. I checked the error logs and this is what I got from server.log Mon Aug 14 12:51:24 2006] [error] [client 127.0.0.1] malformed header from script. Bad header=%PDF-1.3: 26, referer:
2009 Jan 24
1
canoo webtest
has anyone used canoo webtest to test a rails application? appreciate the info. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe
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.
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
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
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 SCGI
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
2007 Aug 10
0
[OFF-TOPIC] SCGI now maintained by Jeremy Evans
Hi, As many of you know I also wrote the SCGI connector for Ruby on Rails before I worked on Mongrel. I eventually stopped working on it since it was kind of pointless, but Jeremy Evans has stepped up and offered to maintain it. He''s now the official maintainer and will be managing the SCGI project: http://rubyforge.org/projects/scgi/ If anyone is interested in helping out then let
2006 Mar 16
0
RewriteRule with scgi on Apache 2
Hi. I am trying to run RubyOnRails with scgi on RedHat ES4. I want to direct all access of "/" to index.html I do have DirectoryIndex in httpd.conf. But after I run RubyOnRails, the configuration stopped working. I tried many things, but it doesn''t work. Like: RewriteRule ^$ index.html [QSA] RewriteRule ^/$ /var/www/public/index.html [R] If I access /index.html, everything
2006 Feb 27
0
Lighttpd,Apache, FastCGI, SCGI
I am going through the process of transferring my MVC skills from Java and LAMP to RoR. If someone wanted beocme master/expert at both FastCGI and SCGI what would be the setup on windows XP? My thinking is to use: -XAMPP+SCGI on c drive -WAMP+FastCGI on f drive -lighttpd +SCGI or FastCGI and bind different servers to different IPs as I can set IPs via loopback interface to my networkcard.
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.log */ # Logfile created on Thu Jan 04 16:35:43
2006 May 22
1
configuring apache with scgi
i had been trying for weeks to get fcgi to play right with apache. i finally got it working, but it''s far from stable. it was recommended to me that i should try using SCGI and that it is much easier to set up. being new to this stuff though, i''m not sure if there''s a lack of documentation or if there are some things that are just assumed and not known by a noob
2005 Dec 30
2
scgi apache routes help needed
I''m trying to get an application running in a sub directory of a site using apache and scgi. The application runs fine with webrick. I have a site. Let''s call it "mysite.org". There is a variety of content on that site. I would like to add a rails application to that site. Let''s call the application "myapp". So we will have urls of the form
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
2006 Jul 12
0
scgi and rails startup on OS X Tiger
Is anyone using scgi with their rails app on an OS X machine running Tiger? I found a nice launchd tutorial for lighttpd, but I can''t figure out how to modify it for scgi, and I would like to have the whole mechanism come up on reboot, as this is a production machine. I''d be grateful for any pointers... Shelby
2006 May 18
2
Lighttpd scgi error on windows
Hi, I have followed the instructions below to get lighttpd and scgi working on windows. http://wiki.rubyonrails.org/rails/pages/HowToDeployWithLighttpdOnWindows When i typ in the following address http://127.0.0.1:9999/ i get just a blank white page. In the scgi.log file i have the following error but dont know what the problem is [INF][3552] Running in production mode on 127.0.0.1:9999
2006 Apr 12
4
Instant Rails SCGI Problem
I have installed instant rails and configured it http://instantrails.rubyforge.org/wiki/wiki.pl?Getting_Started I can get typo and webrick to work on webrick localhost:3000 but cant get anything to work with scgi. When i start the scgi server i get a blank dos window screen. When i type www.mycookbook.com into the browser i get the following Unable to connect Firefox can''t
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) ?
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"] =~ "^/tango/" { server.document-root =
2006 Jan 29
1
FastCGI or SCGI
Hello, If i''m planning on using apache2, should I use FastCGI or SCGI. I have tried both and have both working in non-production. I would just like to know which is perfered. Robert Boone -- Posted via http://www.ruby-forum.com/.