hosting web space 50MB $3.89 support CGI, PERL, MYSQL,PHP
Help Desk
Hosting Home
Help Home
General Topic
Read First
Donot Spam
NO IP
Front Page
SSI
Statistics
Subdomain & Alias
Web Space
Bandwidth
How to Upgrade
FTP Questions
FTP Settings
Error Messages
Setting Permission
Unix Shell
Shell Access
Basic Commands
PHP Info
SSL
Rewrite modules
.htaccess files
Mysql Setting
Mail Help
OutLook Express
Forward Email
Webbased Email
Auto Responders
Email Problems
Perl Scripts
Useful Paths
Design codes
Error Logs
Full Path
Useful Links
Market Tips
Link Exchange
Search Engine List
Free Submission
$$Earn Money $$

.htaccess files


Please put .htaccess file in your home directory Var/www/html. .htaccess files is very useful. Following is four examples:( put the lines into your .htaccess file )

  1. File not found:

    Options +FollowSymlinks
    ErrorDocument 404 http://www.yourdomain.com/error.html


  2. Prevent other webmaster steal your traffic

    Options +FollowSymlinks
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC]
    RewriteRule .*\.(gif|GIF|jpg|JPG)$ [F,L]


Attention: .htaccess is very complicated and its application is beyond the support scope. But most common errors are the path of your .htpasswd. It should be your full path.

Copyright© 2001 Three E Technology Ltd. All Rights Reserved