| How can I use .htaccess to protect my bandwidth?: | ||||
RewriteEngine on RewriteCond % !^.*mywebsite.com.*$ [NC] RewriteRule ^.*$ http ://www.mywebsite.com/sorry.html [R] You make this .htaccess file in the directory you wish to protect. It is effective for all subdirectories. You can change the rewrite URL (http ://www.mywebsite.com/sorry.html ) to what you want the user redirected to. You don't have to make a webpage, set it to whatever you would like. Note: There must be a backslash '' before the '.' on the second line. Example: It should be: mywebsite.com. Not: mywebsite.com |
||||
Tech support
call center
1.866.WEBAIR1 (932.2471)
Acceptable Use Policy
Service Level Agreement
Intellectual Property Policy
Privacy Policy
Banner Farm
Careers
Terms of Use Webair Hosting FAQ Webair Hosting Forum
Terms of Use Webair Hosting FAQ Webair Hosting Forum










