Call 1300 467 843

Does OzHosting.com support .htaccess files
Minimize

OZ-KBA-8001: Does OzHosting.com support .htaccess files

This KB will explain:
•    What is a .htaccess file
•    Can I use .htaccess files on OzHosting.com
•    What can I use the .htaccess file for

Article


What is a “.htaccess” file?

.htaccess files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.

This means that you can add custom server configuration options in a single file that is within your Webspace as the Shared Hosting Environment does not allow access to the Main Server Configuration.

Can I use a .htaccess file on OzHosting.com

It is possible to use a .htaccess file on any Linux Shared Hosting Subscription. As the .htaccess file is a feature of the Apache Web Server software it is not possible to use on the Windows Shared Hosting Subscriptions.

What Can I use the .htaccess file for?

The four most common uses of the .htaccess file are:

•    Authorisation and authentication
•    Customised Error Messages
•    Rewriting URLs
•    Cache Control