[typo] Unable to configure typo using CGI/Apache 1.3.33

Pratik pratiknaik at gmail.com
Tue Aug 9 08:27:35 EDT 2005


I am trying to setup typo on my server running Apache 1.3.33 using
CGI. But I am getting "Application Errror - Typo could not be reached"
error everytime.

My public/dispatch.cgi is :

require File.dirname(__FILE__) + "/../config/environment" unless

# If you're using RubyGems and mod_ruby, this require should be
changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" --
otherwise performance is severely impaired
require "/usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher"

ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if
File.directory?(dir) } if defined?(Apache::RubyRun)

My public/.htaccess ( which btw I had to copy manually as it's missing
from distribution )
SetEnv RAILS_ENV production

# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI

# Redirect all requests not available on the filesystem to Rails
RewriteEngine On
# try to suggest current rss subscribers that the url moved permently
RewriteRule ^xml/([a-z]+)$ /xml/$1/feed.xml [R=301]
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]

# In case Rails experiences terminal errors
ErrorDocument 500 "<h2>Application Errror</h2>Typo could not be reached

I've gone through document located at
http://typo.leetsoft.com/trac/wiki/TroubleShooting, but that's not

If someone wants, I can setup an account on my server.

http://www.religiontalk.org & http://www.spiritualtalk.org - Enlighten your soul

More information about the Typo-list mailing list