Posts Tagged: htaccess

Redirect from non-www to www

We’re often asked how to achieve this, whether it be to prevent duplicate content or force a site to use your SSL. This is really easy to do, open up the .htaccess in the public_html folder of your site and add: RewriteEngine on RewriteCond %{HTTP_HOST} !^$ RewriteRule ^(.*)$$1 [R=301] This will redirect any requests… Read more »

FAQ: PHP4 and PHP5

When we made the decision to install PHP5 we were made aware of a large number of scripts that weren’t being updated by vendors immediately that would not work with PHP5. Rather than force all of our users to find new scripts, or face their website being broken we installed PHP5 alongside PHP4 to give… Read more »

Installing suPHP & Internal Server Errors

What is the difference between suPHP and “regular” PHP? Our regular installation of PHP has always run as the user “nobody” (a fact that often causes issues with temporary files and caches created by the webserver) and does not require the execute flag to run. This inherently creates a security risk that may allow other… Read more »