Sign Up |

Login




Control Panel based webhosting in South Africa with Graphical Stats, PHP and MySQL

Choose from different packages to suit your requirements

Register South African and other domains

Secure hosting with backup power generators, daily backups and 99.9% guaranteed uptime

Generous bandwidth and disk space allocations

24-hour email support and helpline

Sign up today and receive a free Search Engine Optimization and Web Marketing Guide

Glossary of Terms



.htaccess


The .htaccess file is a special file which controls access to your website.

It can be used to block clients by IP address, redirect clients and handle error management such as 403 and 404 errors (file or directory not found).

It is placed in a folder and applies to that folder and all sub-folders.

Example .htaccess file

order allow,deny
allow from all
deny from 212.187.248.101

ErrorDocument 404 /404.htm
ErrorDocument 403 /403.htm
Options -Indexes

The first three lines set the main access rules.

The 403 and 404 rules specify the pages to load in case of a directory or page not found error.

The last rule turns off the display of the directory listing in the case of a 404 or 403 error.


Related Terms



Return to Glossary of Terms



All hosting subject to Cybnet Terms and Conditions Acceptable Usage Policy | Privacy Policy | © Cybnet 2010-2022