Welcome, Guest. [ Log In ]
'.htaccess files' Help Folder   .htaccess files
Search KBase


Related Links:
· How can I turn off the default directory listing in a directory?

Top 10 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. Various .htaccess samples and tutorials
6. How do I stop "hotlinking" to my files?
7. How can I use ssi on files with .html extensions?
8. How do I block certain IPs from accessing my site or directory?
9. How come this feature of .htaccess won't work?
10. How can I create a plain text file for .htaccess?

 
Sub-Areas of .htaccess files
Question Various .htaccess samples and tutorials
.htaccess Many people have only taken the .htaccess file as far as using it for password protection and custom error documents. There is a lot more to what can be done with an .htaccess th... (more)
Question How do I stop "hotlinking" to my files?
"Hotlinking" is when somebody displays an image (or any type of file actually) on somebody else's web site directly inline on their site! There's nothing particularly wrong with that, it's a big... (more)
Question Can I use .htaccess files?
Yes! All DreamHost hosting packages come with the ability to password protect directories using .htaccess. Click here to find out how! Creating Password Protected Directories If you ... (more)
Question How can I turn off the default directory listing in a directory?
Easy! There are two ways: You can just put a blank file named index.html in that directory. A "more correct" way is to put a file named .htaccess in that directory consisting of only... (more)
Question 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... (more)
Question How come this feature of .htaccess won't work?
If you are sure you are using the syntax correctly, it might be that that particular feature of .htaccess is disabled (for example turning on your own cgi access!) Please contact tech support via the... (more)
Question How can I create a plain text file for .htaccess?
You can do it by sshing in to yourdomain.com and using pico, a user-friendly text editor. All the commands for its use appear at the bottom of the page (^ means press the Control key. ) Just change t... (more)
Question How do I block certain IPs from accessing my site or directory?
It's pretty easy! All you have to do is create an .htaccess file in the directory you'd like to restrict (your main directory to restrict the entire site) and then put the following in it: ... (more)
Question How do I block people coming from a certain website or URL from visiting my site or directory?
It's actually very similar to blocking people by IP ! Again, you need to add some lines to an .htaccess text file that you create in the home directory of your web site. Here is some example code... (more)
Question How can I use ssi on files with .html extensions?
Our server is configured by default to only parse files with a .shtml extension with server-side includes. If you make sure all your files that include other files (using SSI) are named "something.s... (more)