27 April 2005
htaccess Cheatsheet
Posted by Mikhail Esteves under: LAMP; Tips .
I’ve compiled a list of htaccess tricks here
So far, it covers:
- Enable/Disable Directory Browsing
- Customizing Error Messages
- Getting SSI to work with HTML/SHTML
- Changing Default Page order
- Blocking specific users/domains from accessing your site
- Redirecting users around your site (say an older non-existant page to a new one)
- Blocking hot-linking and bandwidth leeching
- Block certain files from being viewed
- Granting CGI access to a directory on the server
- Link to a .htaccess Password Generator
More coming soon. If you have tricks you’d like to share, go ahead and drop a comment here.