# Problem with htaccess - cgi e fast cgi

**URL:** <https://www.ruby-forum.com/t/problem-with-htaccess-cgi-e-fast-cgi/120904>\
**Category:** Ruby\
**Created:** [November 21, 2007, 5:10pm UTC](https://www.ruby-forum.com/t/problem-with-htaccess-cgi-e-fast-cgi/120904 "2007-11-21T17:10:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![softwarewin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@softwarewin](https://www.ruby-forum.com/u/softwarewin)\
**Post date:** [November 21, 2007, 5:10pm UTC](https://www.ruby-forum.com/t/problem-with-htaccess-cgi-e-fast-cgi/120904/1 "2007-11-21T17:10:57Z")

</div>

My ROR web application on my webhosting needs to have the .htaccess with  
the instruction:  
RewriteRule ^(.\*)$ dispatch.cgi [QSA,L]

that uses the script dispatch.cgi and that don’t give any error.

Instead if I use, in the htaccess, the rule:  
RewriteRule ^(.\*)$ dispatch.fcgi [QSA,L]

to call the fast cgi script the application runs more fast and correctly  
but generate the log file that is attacched in the message.

I would like to know what is the problem with the fast cgi script to  
correct it and to use it because the ROR application is more fast.

Thank you very much.

Luigi
