Apache shows contents of ruby script instead of actually executing it

I’m trying to configure Passenger to serve a RadiantCMS. I believe I’ve
installed all the necessary gems and followed the configuration
instructions from here
Ruby on Rails with Apache on Debian 6 (Squeeze) | Linode Docs,
but am still having some issues with the static page, where it doesn’t
actually look like the passenger module is running.

Radiant Directory:

/var/www/radiant/:

CHANGELOG.md Gemfile INSTALL.md README.md
config/ db/ public/ vendor/
CONTRIBUTORS.md Gemfile.lock LICENSE.md Rakefile
config.ru log/ script/

Serves static dispatch.cgi in public by default.

Radiant Directive:

have to listen on host before connecting to it

Listen 8000
NameVirtualHost *:8000
<VirtualHost *:8000>
ServerName 127.0.0.1

point DocRoot to public

DocumentRoot /var/www/radiant/public
<Directory /var/www/radiant/public>
# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews

Let me know if there’s any other information you could use and I’ll post
it.

Thanks!

On Dec 22, 9:13am, “Brian A.” [email protected] wrote:

I’m trying to configure Passenger to serve a RadiantCMS. I believe I’ve
installed all the necessary gems and followed the configuration
instructions from
herehttp://library.linode.com/frameworks/ruby-on-rails-apache/debian-6-sq…,
but am still having some issues with the static page, where it doesn’t
actually look like the passenger module is running.

Is the passenger module being loaded ?

Fred

Ah, the loadmodule line was there but I had accidentally indented the
PassengerRoot and PassengerRuby directives in httpd.conf. It’s working
now (well, almost, but fixing the other issues should be easy enough).