similar to: FastCGI - how to relocate dispatch.fcgi outside of rails app

Displaying 20 results from an estimated 3000 matches similar to: "FastCGI - how to relocate dispatch.fcgi outside of rails app"

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 Feb 02
4
Random (connections.c.1330) error-handler not found: /dispatch.fcgi
Hello, Again another random occurance of a problem. lighttpd.error.log contains lines like: 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:35:08: (connections.c.1330) error-handler not
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi, I''m having difficulty getting ruby running via Lighttpd and fastcgi. My lighttpd.conf reads: server.port = 81 server.pid-file = "/tmp/test_lighttpd.pid" server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi", "mod_accesslog", "mod_simple_vhost" ) server.document-root = "/tmp/mis/public"
2006 Jan 16
0
Lighttpd/FastCGI dispatch.fcgi processes
I have the fastcgi.server part of my lighttpd.conf like this: fastcgi.server = ( ".fcgi" => ( "test" => ( "socket" => "/tmp/test1.socket", "bin-path" => "/home/paulbarry/public/dispatch.fcgi", "min-procs" => 1, "max_procs" => 2 ) ) ) When I start
2005 Dec 19
1
FastCGI: comm with (dynamic) server dispatch.fcgi aborted
I just did a "gem update" on my server updating to the latest version. After this none of my scripts work. In apache error log I get: FastCGI: comm with (dynamic) server "/home/user/public_html/dispatch.fcgi" aborted: (first read) idle timeout (30 sec) My only guess is that the problem is related to the fastCGI binding but I have no idea what to look for. I
2005 Dec 19
1
FastCGI: comm with (dynamic) server ...../dispatch.fcgi aborted: (first read) idle timeout (30 sec)
Hello, I just did a "gem update" on my server updating to the latest version. After this none of my scripts work. In apache error log I get: FastCGI: comm with (dynamic) server "/home/user/public_html/dispatch.fcgi" aborted: (first read) idle timeout (30 sec) My only guess is that the problem is related to the fastCGI binding but I have no idea what to look for. I
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 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys, I hope someone can help me out. I am trying to configure two applications to run on lighttpd and each app will have its own domain. My machine is running on Fedora. When I run my lighttpd with the following conf file, I get no error but when I check out my app, it dishes out a 404 error- the 404 being served isn''t the 404 inside the railsapp/public folder. Do hope someone
2005 Dec 15
4
CGI and FastCGI problems
I can''t my rails app to work with cgi or fastcgi. My app works using webrick. I''ve even hard-coded development mode in environment.rb in order to get most descriptive messages, but the best I get is the following in the apache2 errorlog: [Thu Dec 15 10:38:04 2005] [error] [client x.x.x.x] FastCGI: incomplete headers (35 bytes) received from server
2006 Mar 07
6
fcgi dispatcher crashing
I''m trying to set deploy an app on apache2 with the fcgid module, but can''t seem to get anywhere. Things work fine with cgi, but when i switch to fcgi, i''m stuck with a ''503: Service Temporarily Unavailable''. There''s no error being logged anywhere, afaik. Trying to run dispatch.fcgi from the shell doesn''t work either. It bombs out,
2006 Feb 27
3
Rails via Lighttpd
I am trying to get Rails running through Lighttpd, on a Suse 10 box running Rails 1.0.0 and Lighttpd 1.4.10 I followed the instructions in the wiki (http://wiki.rubyonrails.com/rails/pages/Lighttpd) but keep getting the same error: linux:/etc/lighttpd # lighttpd -f lighttpd.conf 2006-02-27 12:32:17: (mod_fastcgi.c.997) execve failed for:
2005 Jul 29
0
Fwd: Products and mod_rewrite
It appears this message bounced somehow, so I''m resending. Apologies if it is a dup. Begin forwarded message: > From: Duane Johnson <duane.johnson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > Date: July 29, 2005 8:59:30 AM MDT > To: Steve Sloan <steve-2FdKsI0tZ45AfugRpC6u6w@public.gmane.org>, rails-1W37MKcQCpIf0INCOvqR/pqQE7yCjDx5@public.gmane.org > Subject: Re:
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__''
2007 Nov 08
0
error on migration
Hi all, I''m just getting started with rspec. I''m using trunk rspec with edge rails. I get an error on migration though, here it is: rake db:migrate RAILS_ENV="test" --trace (in /home/pat/railsapp) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `failure_message'' for class
2006 Jun 04
1
Problem with images on Apache and Lighttpd
Hello. Since two days I am trying to set up two rails-apps on a vserver-host so that I can access from work ;-) I tried all I can imagine and what Google/MSN teached me: FastCGI, SCGI, Lighttpd, Apache, Alias, Vhosts,.... But nothing really works. I am on Debian 3.1 with Ruby 1.8.4, Rails 1.1.2, FastCGI 2.4.0, mod_fastcgi 2.4.2, ruby_fcgi 0.8.6, ruby_gems 0.8.11, Apache 2.0.54, Lighttpd
2005 Dec 18
0
OpenBSD 3.8, Apache 1.3, FastCGI, Chroot
Okay, well the OpenBSD install/chroot guide is a good starting point.... Anyhow, Can someone shed some light on these particular error messages? [Sat Dec 17 18:42:34 2005] [notice] Initializing etag from /var/www/logs/etag-state [Sat Dec 17 18:42:34 2005] [notice] chrooted in /var/www [Sat Dec 17 18:42:34 2005] [notice] changed to uid 1, gid 1 [Sat Dec 17 18:42:34 2005] [notice] Apache/1.3.29
2007 Jun 22
0
Mongrel_cluster and rails app in a subdirectory
Info: Apache 2.2 mongrel 1.0.1 mongrel_cluster 0.2.1 I''ve had everything working with a bunch of applications like this when the the rails app is the document root, but a client just asked to move the app to a subdirectory, leaving he rest of their site alone. However, I can''t seem to get it to work. Let''s make the assumption that the Apache document root for the
2005 Dec 19
1
Deploying with Sub Directories
Hi, I am following this "tutorial" on dreamhost to deploy with sub directories: 1. Upload your railsapp to ~/railsapp/. ** I have uploaded to /sharemyten.com/list/ (list is my railsapp folder) 2. Make all necessary changes mentioned in the QuickStart Guide above. ** Did this... 3. Create a symlink at the location you want the subdirectory that points to ~/railsapp/public/: $ cd
2005 Jul 04
0
Error: Premature end of script headers: dispatch.cgi
Hi, I''m hoping someone can help me with my setup. I''ve installed ruby (1.8.2), gems (0.8.10), and rails (whatever was current as of about two days ago). I''ve got an app (been trying the Todo tutorial) setup under a virtual host as a subdomain (httpd.conf is setup according to directions in
2006 Mar 15
5
Apache (both 1.3 & 2) not calling dispatch.fcgi on Debian
We''re trying to run Ruby on Rails on Debian with Apache and FastCGI, but can''t get it to work. As far as we can tell, it seems to go wrong in the final stages; Apache appears not to be doing anything with dispatch.fcgi, even though FastCGI looks to be set up correctly. We''ve followed several "how to"s, but we don''t get any other results. What