Common .htaccess Rules

By Joe Gardiner Tuesday, 7th September 2010

catn-config

In Apache web server, the .htaccess file is a configuration file that enables local management of the web server.

The .htaccess file in a shared environment allows a user to change specific configuration settings local to their web directory, and override the central Apache configuration settings. There is a .htaccess guide specifically for vCluster available: Introduction to .htaccess and .craccess.


Why would you want to do that?

Every time a web request is made on a users share of a web server the .htaccess file is read, allowing instant configuration changes, unlike the main Apache configuration that requires a restart for any changes to take effect. Allowing a user to configure their local Apache settings is often desirable when compared to giving a user access to main Apache settings, unthinkable in a shared environment!

read more…


Posted in Advanced Configuration, Guides | No Comments »

MySQL Best Practices

By Ollie Armstrong Thursday, 12th August 2010

mysql-dark

Do you know how to best design a MySQL database, or how to best structure a MySQL query? If not then this post will certainly interest you.

Here we will be discussing the best MySQL practices you can use not only to keep your database running smoothly and quickly but also to keep it user friendly.

10 – Use sensible field names

Have you ever started on a project and designed the database using ambiguous field names like read more…


Posted in Guides, MySQL | 2 Comments »