Thumbs up for supporting Rails! Just tried to install Typo, but it seems that my setup isn't working properly. Here's what I did:
- Put Typo in /home/username/typo
- Created a symlink pointing /home/username/public_html/blog to /home/username/typo/public
- Chmodded /home/username/typo/log and /home/username/typo/public and everything in them to 777
- Configured /home/username/typo/config/database.yml and /home/username/typo/public/.htaccess (see below)
- Edited /home/username/typo/config/environment.rb to run in production mode
But alas, pointing my browser at http://www.domain.tld/blog gives: "Application Error - Typo could not be reached"
Here's my /home/username/typo/public/.htaccess:
Tried dispatch.cgi too, but to no avail.Code:# 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 # Uncomment this if you're not running Typo in the root of your # webserver's URL space (i.e. http://www.example.com/blog): # RewriteBase /blog/ # 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.fcgi [QSA,L] # In case Rails experiences terminal errors ErrorDocument 500 "<h2>Application Error</h2>Typo could not be reached
Any help would be greatly appreciated!



Reply With Quote

