Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ Error Documents ] link for the directory you’d like to manage..
In the "Error Code" column, select the error code from the dropdown list.
In the "Error Page" column, enter the path to your custom error document, relative to the web root. Alternatively, you can enter a fully-qualified URL to another page.
Click the button.
You will see the following message at the top of the screen: Custom Error Document added: directory
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ Error Documents ] link for the directory you’d like to manage..
Click the [ Edit ] link next to the error document you would like to edit.
In the "Error Code" column, select the error code from the dropdown list.
In the "Error Page" column, enter the path to your custom error document, relative to the web root. Alternatively, you can enter a fully-qualified URL to another page.
Click the button.
You will see the following message at the top of the screen: Custom Error Document edited: directory
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ Error Documents ] link for the directory you’d like to manage..
Mark the checkboxes for the error documents you wish to delete. You may also click the [ Check All ] link at the bottom of the list to quickly check all the error documents.
In the dropdown labeled with selected:, choose the Delete… option.
You will be asked to confirm the deletion of the error documents. Click the button to finish.
You will see the following message at the top of the screen: ErrorDocument successfully deleted: directory
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ MIME-Types ] link for the directory you’d like to manage..
In the "MIME-Type" column, enter the MIME-Type you would like to use for the given extensions. As you type, the field will auto-complete with various known MIME-Types. MIME-Types must be in the form: "<type>/<subtype>".
In the "Extensions" column, enter a space separated list of extensions.
Click the button.
You will see the following message at the top of the screen: MIME-Type added: directory
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ MIME-Types ] link for the directory you’d like to manage.
Click the [ Edit ] link next to the MIME-Type you would like to edit.
In the "MIME-Type" column, enter the MIME-Type you would like to use for the given extensions. As you type, the field will auto-complete with various known MIME-Types. MIME-Types must be in the form: "<type>/<subtype>".
In the "Extensions" column, enter a space separated list of extensions.
Click the button.
You will see the following message at the top of the screen: MIME-Type edited: directory
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ MIME-Types ] link for the directory you’d like to manage.
Mark the checkboxes for the MIME-Types you wish to delete. You may also click the [ Check All ] link at the bottom of the list to quickly check all the MIME-Types.
In the dropdown labeled with selected:, choose the Delete… option.
You will be asked to confirm the deletion of the MIME-Types. Click the button to finish.
You will see the following message at the top of the screen: MIME-Type(s) deleted: directory
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ Handlers ] link for the directory you’d like to manage..
In the "Handler"column, enter the Apache handler you would like to use for the given extensions. As you type, the field will auto-complete with the various default handlers in Apache.
In the "Extensions" column, enter a space separated list of extensions.
Click the button.
You will see the following message at the top of the screen: Handler added: directory
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ Handlers ] link for the directory you’d like to manage.
Click the [ Edit ] link next to the handler you would like to edit.
In the "Handler" column, enter the Apache handler you would like to use for the given extensions. As you type, the field will auto-complete with the various default handlers in Apache.
In the "Extensions" column, enter a space separated list of extensions.
Click the button.
You will see the following message at the top of the screen: Handler edited: directory
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ Handlers ] link for the directory you’d like to manage.
Mark the checkboxes for the handlers you wish to delete. You may also click the [ Check All ] link at the bottom of the list to quickly check all the handlers.
In the dropdown labeled with selected:, choose the Delete… option.
You will be asked to confirm the deletion of the Apache handlers. Click the button to finish.
You will see the following message at the top of the screen: Handler(s) deleted: directory
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ Default Character Set ] link for the directory you'd like to manage.
In the Default Character Set column, enter the default character set you'd like to use. As you type, the field will auto-complete with some of the more commonly used character sets.
Click the button.
You will see the following message at the top of the screen: Default character set added: directory
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ Default Character Set ] link for the directory you'd like to manage.
Click the button next to the listed character set.
In the Default Character Set column, enter the default character set you'd like to use. As you type, the field will auto-complete with some of the more commonly used character sets.
Click the button.
You will see the following message at the top of the screen: Default character set edited: directory
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ PHP Variables ] for the directory you'd like to manage.
For each option, there is an "Inherited" setting. When "Inherited" is selected, the PHP variable will inherit its value from the parent directory above. The displayed value shown next to the "Inherited" option is the value that will be used for that directory.
Adjust the PHP settings as desired.
Click the button.
You will see the following message at the top of the screen: PHP Variables updated: directory
Sets the PHP 'Include Path' variable for this directory and its subdirectories. Multiple paths are separated by a colon (":") character. For example: /first/path:/second/path:/third/path
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Locate the Global Directory Options section.
Mark the checkboxes for the redirect rules you wish to delete. You may also click the [ Check All ] link at the bottom of the list to quickly check all the redirect rules.
In the dropdown labeled with selected:, choose the Delete… option.
You will be asked to confirm the deletion of the redirect rules. Click the button to finish.
You will see the following message at the top of the screen: Redirect successfully deleted: global
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ Index Management ] link for the directory you'd like to manage.
In the "Default Index Files" text box, enter a list of default index files, on per line. This setting affects when a browser requests a URL that ends in a '/' (a directory). Apache will use this list of files to determine which file to serve. Apache will serve the first file found in the list, from top to bottom.
Set the desired behavior for the "Directory Listing" field. This setting affects when a browser requests a URL that ends in a '/' (a directory), and no Default Index files are found. If set to 'No', the browser will receive a '403 Forbidden' response. If set to 'Yes', the browser will list the contents of the directory. If set to 'Inherited', the setting will be inherited from a parent directory.
Set the desired listing style for the "Directory Listing Style" field. This setting affects how the directory listing will be displayed. If set to 'Simple Listing', a simple directory list of files will be displayed. If set to 'Fancy Listing', a directory list of files along with timestamps and filesizes will be displayed. If set to 'Inherited', the setting will be inherited from a parent directory.
Click the button.
You will see the following message at the top of the screen: Index Management updated: <i>directory</i>
Click the Hosting Features menu item if it is not already open.
Click the Htaccess menu item.
Click the [ Hotlink Protection ] link for the directory you'd like to manage.
In the "Hotlink Protection Status" drop down, choose if you want the protection enabled immediately, or not. This option is useful if you'd like to turn your hotlink protection settings on or off quickly to see the difference, without deleting your hotlink protection settings and having to re-create them.
Enter file extensions you want to block hotlinking for in the "Blocked Extensions" box, one per line. For example, .gif, .jpg, .wmv, .mov, etc.
Enter domains you want to ALLOW hotlinking of your content from in the "Allowed domains" box.
You can choose if you'd like to allow direct access to the "blocked" content or not. An example of direct access would be accessing an image with your browser like this: http://yoursite.com/images/example.gif. If "Allow Direct Access" is "Off" this will not be allowed - the request will be blocked. If it is "On" then this type of direct access will be allowed, and only embeded hotlink attempts will be blocked.
If you want to replace the "blocked" content with another image file, you can enter the URL of this file in the "Replace with" text box. When this option is set with a valid absolute URL to an image file (e.g., http://www.somedomain.com/replaceimg.jpg), a hotlinked image will be replaced with this URL. If this option is not set, a hotlinked image will return a '403 Forbidden' response.
Click the button.
You will see the following message at the top of the screen: Hotlink Management updated: directory
Directory Options
How To:
Procedure - Add a domain wide .htaccess file
Procedure - Add a directory specific .htaccess file
Procedure - Delete the domain wide .htaccess file
Procedure - Delete a directory specific .htaccess file
Procedure - Enable a domain wide .htaccess file
Procedure - Enable a directory specific .htaccess file
Procedure - Disable a domain wide .htaccess file
Procedure - Disable a directory specific .htaccess file
Procedure - Adding Setting .htaccess Access Control
Procedure - Adding an Error Document
Procedure - Editing an Error Document
Procedure - Deleting an Error Document
Procedure - Adding a MIME-Type
Procedure - Editing a MIME-Type
Procedure - Deleting a MIME-Type
Procedure - Adding an Apache Handler
Procedure - Editing an Apache Handler
Procedure - Deleting an Apache Handler
Procedure - Setting a Default Character Set
Procedure - Editing a Default Character Set
Procedure - Deleting a Default Character Set
Procedure - Manage PHP variables
Available PHP Variables
Please see the PHP manual for more details about the following settings:
/first/path:/second/path:/third/pathProcedure - Adding a Redirect Rule
Procedure - Editing a Redirect Rule
Procedure - Deleting a Redirect Rule
Redirect Types
Please see the Apache documentation for more information about the different redirect types.
Procedure - Manage Indexes
Procedure - Manage Hotlink Protection