Need help?

Support Site | Contact Us

Keeping your website safe – and off Google’s blacklist

Google malware warningLets suppose you wake up one sunny morning, and find that your web browser won’t let you open your website. Or worse still, it is listed in the Google results as “This site may harm your computer”! Maybe you thought the maintenance contract offered by your web developer was just sales flannel to get more money from you?

Continue Reading →

Comments { 0 }

How to test a website before changing nameservers

If you are moving your website and want to test out the setup on the new hosting before changing your nameservers or DNS settings on the domain then read on to discover how to get started.

Continue Reading →

Comments { 0 }

.htaccess rewrite examples using mod_rewrite

In this post we will go through how to use mod_rewrite to fine tune the urls for your website. This can be beneficial for making pretty URLs for your visitors, for helping with your sites SEO, and also making your code more secure.

Continue Reading →

Comments { 2 }

.htaccess file beginners guide

In brief, the .htaccess file is used to instruct Apache on what to do with incoming requests to your website. It is a very powerful tool that can totally rewrite incoming requests, block entire countries, or just define your error pages. If you are using cPanel, or any software such as Worpdress, then you are probably already utilising the .htaccess file without even knowing. In this post we’ll cover some .htaccess basics.

Continue Reading →

Comments { 0 }

Centos 5 cPanel rails: no such file to load — readline (LoadError)

On our latest cPanel hosting servers running CloudLinux 5.5 (Centos 5.5) we ran the rails installation script to install rails.

/script/installruby

However when any user tried to start a rails application, or a rails console, the following error appeared:

Loading production environment (Rails 2.3.11)
/usr/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError)
from /usr/lib/ruby/1.8/irb/completion.rb:10
from /usr/lib/ruby/1.8/irb/init.rb:254:in `require'
from /usr/lib/ruby/1.8/irb/init.rb:254:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:252:in `each'
from /usr/lib/ruby/1.8/irb/init.rb:252:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup'
from /usr/lib/ruby/1.8/irb.rb:54:in `start'
from /usr/bin/irb:13

This is easily fixed by typing the following as root :

# yum install ncurses-devel readline-devel libncurses5-dev
# /scripts/installruby --force

Rails should now work with cPanel’s inbuilt functionality.

Comments { 0 }