# Radiant under FastCGI in Lighttpd behaving strangely

**URL:** <https://www.ruby-forum.com/t/radiant-under-fastcgi-in-lighttpd-behaving-strangely/104565>\
**Category:** Radiant CMS\
**Created:** [May 19, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/radiant-under-fastcgi-in-lighttpd-behaving-strangely/104565 "2007-05-19T17:52:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [May 19, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/radiant-under-fastcgi-in-lighttpd-behaving-strangely/104565/1 "2007-05-19T17:52:54Z")

</div>

I am trying to get Radiant up and running under Lighttpd using FastCGI  
and  
it is almost working. I can access the admin interface without a problem  
but when I go to view the site I get a 500 Error. Here is my Lighttpd  
config section for this domain:

=== BEGIN CONFIG SNIP ===

$HTTP[“host”] =~ “(www.)?plainprograms.com” {  
server.document-root = “/var/apps/plainprograms.com/public”  
server.error-handler-404 = “dispatch.fcgi”

url.rewrite = ( “^/$” =\> “index.html”, “^([^.]+)$” =\> “$1.html” )

fastcgi.server= (“dispatch.fcgi” =\>  
(“[plainprograms.com](http://plainprograms.com)” =\>  
(  
“socket” =\> “/tmp/plainprograms.com-fcgi.socket”,  
“bin-path” =\>  
“/var/apps/plainprograms.com/public/dispatch.fcgi”,  
“bin-environment” =\> (“RAILS\_ENV” =\> “production” ),  
“min-procs” =\> 1,  
“max-procs” =\> 3,  
)  
)  
)  
}

=== END CONFIG SNIP ===

Anybody see something I am doing wrong that might be causing this very  
odd  
behavior?

Other Details:  
Gentoo 6.06 (Dapper) - fully updated  
Ruby 1.8.4  
RubyGems 0.9.3  
Rails 1.2.3  
Radiant 0.6.1  
MySQL 5.0.22  
Lighttpd 1.4.11

Thanks for any help or direction!  
-James Thompson
