similar to: Another apache + fcgi problem...

Displaying 20 results from an estimated 20000 matches similar to: "Another apache + fcgi problem..."

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 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 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
2006 Apr 01
1
problms with apache and fcgi
i have finally gotten apache to run on my server but when i change the htaccess file to use dispatch.fcgi instead of the cgi files, RoR fails to start my apps. i followed the instructions down to the letter from this linke: http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel -- Posted via http://www.ruby-forum.com/.
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 Jun 17
2
ROR deployment on Apache - DocRoot set to /
I am trying to get a ROR app running on a linux box running Apache 1.3 at my hosting comapny, but cannot get it running. There is a fresh/clean ROR app in the base directory / .htaccess, dispatch.cgi, dispatch.fcgi and dispatch.rb are all in / All dispatch files have been set to 755. ROR docs say to point doc root at /public/ and to put .htaccess, dispatch.cgi, dispatch.fcgi and dispatch.rb
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI. I have this config under httpd.conf ------------------------ LoadModule fastcgi_module modules/mod_fastcgi.dll ... Alias /fatturails/ "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public/" <Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public"> AddHandler fastcgi-script .fcgi
2005 Aug 10
6
Hieraki + FCGI + Problem
Hi, I''ve downloaded the latest stabil Hieraki. I have ruby 1.8.2 (2004-12-25) [i686-linux], the latest rails (and gems, too), Apache/1.3.33 (Unix) and mod_fastcgi/mod_fastcgi-SNAP-0404142202. I''m successfully running Typo (from SVN) as a FastCGI application. Hieraki works well with "script/server", and works well as a .cgi (just very slow). My problem is, that
2006 Mar 14
5
Dreamhost and fcgi....help!
I''ve got my app running under cgi, but I keep getting pwned by fcgi. - app is installed at www.mydomain.com - web root is www.mydomain.com/public (this works w/ regular cgi) - /public has correct permissions - .htaccess: rewrite rule changed to use .fcgi - shebang on dispatch.fcgi and dispatch.rb is set to #!/usr/bin/ruby1.8 (also tried just ruby) -environment.rb : running in prod Any
2009 Jun 17
2
Using a cgi perl program?
I have a cgi/perl program that I want to use on the same server as my RoR app and I keep getting: The page you were looking for doesn''t exist. You may have mistyped the address or the page may have moved. I load the program to the cgi-bin directory in its own folder /cgi-bin/ fump/ In the /public folder of my app I have the following .htaccess file: # General Apache options
2008 Jul 23
3
Premature end of script headers: dispatch.fcgi
Hey people, I''m working on this issue for more than 4 hours now and I have no idea what''s wrong so I ask you kindly to have a look at my stuff. When I try to access my website I get this error: Application error Rails application failed to start properly error.log says: [Wed Jul 23 17:51:22 2008] [error] Premature end of script headers: dispatch.fcgi I tried to run
2006 Jun 15
6
Error in dispatch.fcgi...
Yesterday, our of nothing my server went down... Rails application failed to start properly Imediately i started checking my logs and found quickly that something was wrong with the dispatch.fcgi or its function. I use FCGI, and it had been working perfectly with Apache 2.0.55, MySQL 5.0, Ruby 1.8.2 and Rails 1.1.2. What really got me wondering was that I did nothing. One day it worked
2006 Jun 02
4
RoR on Apache not working
Hi I''m a RoR newbie, in fact i''ve been using it for less than 24 hours, but I''m not an internet/pc/apache/developement newbie so I expected this to go much easier :) Ok, here it goes. I''ve been trying to get RoR working with apache both on a RH server and after i didn;t managed there I tried on my machine, an windows XP/Apache2 machine. I don''t like
2006 Mar 13
9
apache 1 fastcgi config correct???
I followed this tutorial on the rails wiki about how to get apache with fastcgi working on a vps machine: http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel In the tutorial it said to add this to the httpd.conf file to get fastcgi working. <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi </IfModule> However
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
2006 Aug 05
0
Rails requests return dispatch.cgi (or .fcgi) file contents
I''m running Apache2 with CGI and FastCGI alternatively. I''ve had a problem that I haven''t been able to find more than a single reference to online. When my .htaccess file has the CGI rewrite rule in effect, my Rails app works. When I change to FastCGI, all I get for Rails requests is the contents of the dispatch.fcgi file. Thinking I may have screwed something up
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]
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)
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 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