Apr
20
Inviato da inva il Mar, 04/20/2010 - 19:16
There’s a lot that you can do with an htaccess file, and of course, things can get pretty advanced in a hurry.
Here, we’re going to keep things pretty simple.
1. Force Caching with htaccess
2. Set a Custom 404 Page with htaccess
3. Implement a 301 Redirect with htaccess
4. Only allow specific IP addresses in certain directories
5. Prevent Image Hot Linking with htaccess
6. Enable gzip with htaccess
7. Remove ‘category’ from a URL with htaccess
8. Define any page as the home page with htaccess
9. Disable Directory Browsing
10. Protect your htaccess file
Full story: