Instiki
Instiki on Hostmonster

Instiki 0.16.6 Installation on Hostmonster with fastcgi

To install Instiki on Hostmonster is quite simple:

  • Create a new fully hosted domain on cPanel at Hostmonster. Something like wiki.domain.com.
  • Upload Instiki into the wiki.domain.com folder.
  • Don’t forget to adjust database.yml for your database setings.
  • Include ENV[‘RAILS_ENV’] ||= ‘production’ at environment.rb
  • In the file .htaccess, make sure follow lines in the start of the file:
    
    # General Apache options
    AddHandler fcgid-script .fcgi
    #AddHandler fastcgi-script .fcgi
    #AddHandler cgi-script .cgi
    Options +FollowSymLinks +ExecCGI
    
and find line

RewriteRule ^(.*)$ dispatch.cgi [QSA,L] 

and replave by

RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
  • Login to your shell account and do the following:

rm -r wiki
ln -s /home/YOUR_USERNAME/public_html/wiki/public wiki
cd wiki (.yourdomain.com)
chmod -R 755 public
chmod 755 public/dispatch.*
chmod -R 755 tmp
chmod -R 755 log
rake db:migrate RAILS_ENV=production

Open wiki. yourdomain.com in your browser and set up the wiki.

That’s it!.