# Application working with CGI but not with FastCGI

**URL:** <https://www.ruby-forum.com/t/application-working-with-cgi-but-not-with-fastcgi/105187>\
**Category:** Rails\
**Created:** [May 26, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/application-working-with-cgi-but-not-with-fastcgi/105187 "2007-05-26T23:01:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![solanky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5daacb/32.png) [@solanky](https://www.ruby-forum.com/u/solanky)\
**Post date:** [May 26, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/application-working-with-cgi-but-not-with-fastcgi/105187/1 "2007-05-26T23:01:48Z")

</div>

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 is coming with  
it also.

Then I have run the dispatch.cgi and dispatch.fcgi on command line and  
following output is coming.

[~]# ruby radiant-0.6.1/public/dispatch.cgi  
Status: 400 Bad Request

[~]# ruby radiant-0.6.1/public/dispatch.fcgi  
[~]#

So it seems that dispatch.cgi is returning some output but  
dispatch.fcgi does not given anything not even a error.

I have searched over google but could not find help.  
Kindly help me for sorting this out.

Regards  
Deependra S.  
[http://www.madaboutanything.com](http://www.madaboutanything.com)

---

<div class="post-metadata">

**Author:** ![solanky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5daacb/32.png) [@solanky](https://www.ruby-forum.com/u/solanky)\
**Post date:** [May 29, 2007, 10:40am UTC](https://www.ruby-forum.com/t/application-working-with-cgi-but-not-with-fastcgi/105187/2 "2007-05-29T10:40:19Z")

</div>

Is there nobody to answer ?
