post your comment   print   send to a friend
Rate: 100% | Views: 1576
Question categories:  Unix Plans

WHAT IS an .HTACCESS FILE?

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.
Customer Feedback
Rate: 100% | Views: 1576 | Please Rate:  
 
If you have other comments or ideas for future technical tips, please type them here:

Email: (optional)

Comments: (optional)

 Website Hosting | Dedicated Server    Back to serch results
Browse the Base
Knowledge Base
Shared Hosting
  Unix Plans
    MySQL
Messages
 

Avoid disaster, update your contact e-mail

Avoid disaster , like losing an important domain name, by always keeping your contact e-mail up to date. We send important messages that you don't want to miss. Go to "My account" --> "My info" --> "e-mail" in this Control Panel to update.

Private Area
 
Ask
in Private
   
Personal
Folder
 
Related Questions
 
1. I have a Unix-based shared hosting plan. How can I change permissions for files/directories using the File Manager?
 
2. How can I protect directories?
 
3. How to Set Up a Storefront ?
 
4. What are the permissions on files and directories?
 
5. In Unix, what is the find command, and how do I use it to search through directories for files?
 
Related Articles
 

Important tips on selecting your web hosting company.Web Hosting ...

Web Hosting Solutions.

Choosing a Right Web Hosting Solution.

How to choose your web hosting plan.

How to choose a proper cheap web hosting service.Web Hosting ...

Home Browse Search Ask in Private Personal Folder   Help
powered by web hosting 
  Logged as: Guest