|
Answer
by: Stuart Pierce, Aplus.Net Knowledge Base Support
The
.htaccess file is a simple ASCII text file that can be used to adjust
Apache server settings for individual directories in your web space.
Please
have in mind that the .htaccess files can be used with UNIX-based shared
hosting plans only.
The
.htaccess files are commonly used to:
- Implement
password protection for website directories
- Create
custom error pages
- Block
traffic from specific IP addresses
- URL
Redirections
- Change
/ Add MIME types
- Change
the default page for a web directory
- Prevent
hot-linking of your images
- Enable
Directory Listing
The Aplus.Net Control Panel offers several tools which you can use to
automatically create the needed .htaccess file for the following
actions:
Note: these tools are not available with the Personal Unix hosting plan.
Here
is how you can start by creating the .htaccess file, still without
adding content to it:
Here are instructions on how to create your own .htaccess files for
some specific purposes:
We'd like also to recommend a good .htaccess tutorial available here:
Important:
If
you have a Windows-based hosting plan, you cannot use .htaccess files. |