Welcome, Guest. [ Log In ]
Question   How do I use .htaccess files?
Search KBase


Related Links:
· Can I use .htaccess files?
· How come this feature of .htaccess won't work?
· Password-Protecting Directories
· Using shell commands to password protect directories

Top 5 in this Area:
1. How do I use .htaccess files?
2. How can I turn off the default directory listing in a directory?
3. How do I block people coming from a certain website or URL from visiting my site or directory?
4. Can I use .htaccess files?
5. How do I stop "hotlinking" to my files?

 
How do I use .htaccess files?
Implementation of .htaccess files is universal across the Internet. Many manuals are available online. You can visit your favorite search engine and search for 'htaccess', and you'll probably find a nice tutorial just like this one!

If you'd just like to know how to password-protect directories within your site hosted by us, one of these two articles will probably do the trick:
  1. Creating Password Protected Directories with the web panel.
  2. Creating Password Protected Directories with the shell.



Does the main domain htaccess file protect it's sub-domains?
If you create a .htaccess file to protect a domain , (by password protecting it's root directory), this will not protect any sub-domains that are created based on that domain name. They are completely separate services.

Last updated: Apr 13, 2005.

User Post (2004-05-06 16:55:21 by uberbinc)
ergodraw excellent resource man :)
User Post (2003-02-17 15:45:36 by ergodraw)
I found the following tutorial very useful in getting me up to speed on htaccess files.

http://www.javascriptkit.com/howto/htaccess.shtml