|
Password
Protect Directories
NOTE: This feature might not work with Front Page Extensions
Installed.
The Password Protect Directory feature in your Control Panel
allows you to restrict access to a particular directory within your
account and allow access by assigning usernames and passwords to
individuals that you choose to allow such access.
To access this feature click on the link marked: Password protect directories. You will
be asked to select the directory that you want to protect, simply
click the text link of the directory name and you will be taken
to the screen where you complete the specifics for user information.
You will need to enter a unique name (Protected Resource Name)
for this password protection in the upper section of the screen.
The name must be a single word or phase with no spaces. Enter the
name and click the save button. Now you are ready to add users that
can have access to the specific directory.
To add a new user, simply input the username and password and
click Save. You will be taken to a screen that will
confirm the new user and you can click the link on the bottom of
the screen to go back and add more users.
To change a password for a user, simply input the username and the
new password for the user and click Save.
NOTE: Usernames and passwords MUST be from 6 to 8 characters long.
Any less than 6 or greater than 8 will cause your protected directory
cease to function and you will receive an error when trying to enter
the directory.
To delete a user, select the user from the list and click the
Delete button.
Error Pages Simple
This feature allows you to customize the various error pages for
your domain.
To access this feature click on Error Pages Simple. Not much to
explain or instructions to give here. This feature is pretty self
explanatory.
Simply click on the error page that you want to customize, enter
your html code and click Save.
Error Pages Advanced
Do NOT modify anything if you do not understand what you are doing. Do NOT remove any line if you do not know what exactly this line does. We are not responsible for any malfunction
Dynamic Error Pages
If you have defined your own custom Error Pages using the "Simple Error Pages" command of the Control Panel, you may have noticed that you can only define the contents of a non-dynamic file. If you want a tighter integration to your dynamic design, then you can do this by modifying ".htaccess". View the examples below and modify any one of them to satisfy your needs.
Examples:
ErrorDocument 401 http://web-hosting-support.com/myportal/401.php
ErrorDocument 402 /myportal/error.php
ErrorDocument 403 http://web-hosting-support.com/cgi-bin/script.cgi
Redirect your Domain or any Subdirectory
By adding a "Redirect" statement, you can redirect any subdomain or your whole domain to any other file or domain in the Internet.
Each "Redirect" statement contains the "Redirect" command, the location to be redirected and the target of the redirection. You may redirect your domain to some other domain you own or you may redirect requests for e.g. "/color" to a subdirectory called "/colour".
Enter a line like below to redirect your Domain (it will not redirect if there is a request for a specific sub-page):
Redirect /index.html http://target.com
Enter a line like below to redirect a Subdirectory:
Redirect /redirectthis/index.html http://web-hosting-support.com/target.html
Hint: In both cases the target must be a full URL starting with http:// even if the target of the redirection is located in your domain.
Hint: Always include "index.html" after a directory name.
|