21 May 09:02
typo installation on bluehost
From: Huang Jay <tomcruizster <at> gmail.com>
Subject: typo installation on bluehost
Newsgroups: gmane.comp.web.typo.user
Date: 2008-05-21 07:04:54 GMT
Subject: typo installation on bluehost
Newsgroups: gmane.comp.web.typo.user
Date: 2008-05-21 07:04:54 GMT
Hi, I try to install typo 5.0.3 on a subdomain of "eeacsite.com". I followed the instructions step by step from http://bartgdev.com/articles/2006/08/07/installing-typo-on-bluehost. 1. I create a subdomain typo, wget typo-5.0.3, tar the file, and create a symbol link: ln -s ~/rails/typo-5.0.3/public ~/public_html/typo. 2. Create the necessary databases by phpMyAdmin. 3. Setting Typo to Production Add the following lines to these files: typo/config/environment.rb ENV['RAILS_ENV'] = 'production' typo/public/.htaccess SetEnv RAILS_ENV production Set dispatcher path in "typo/public/dispatch.rb" Old Line: #require "dispatcher" New Line: "/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/dispatcher" 4. set the FastCGI, here is my typo5.0.3/public/.htaccess Content: # General Apache options AddHandler fastcgi-script .fcgi AddHandler fcgid-script .fcgi AddHandler cgi-script .cgi #Options +FollowSymLinks +ExecCGI SetEnv RAILS_ENV production # If you don't want Rails to look in certain directories,(Continue reading)
RSS Feed