Monday, June 20, 2011

Htaccess cheat sheet

.htaccess is a is the default name of a directory-level configuration file that allows for decentralized management of web server configuration according to Wikipedia.

Favorite .htaccess commands

The Jackal blog has cheatsheet which can be handy for online marketing professionals. My favorites commands for .htaccess are  are

  • Disable directory browsinghtaccess functions in an image
  • Custom error pages
  • Change default page
  • Block users from accessing the website
  • Allow only LAN users
  • Redirect Visitors to New Page/Directory
    del.icio.us Tags: ,
  • Stop .htaccess (or any other file) from being viewed
  • password protecting directories
  • Switching on the check spelling directive
  • Disguise Script Extensions
  • Speed up your website by caching using .htaccess
  • Set server timezone
  • Limit access to LAN

More about .htaccess

You can find the .htaccess cheat sheet here.  For those who want to learn more about .htaccess there is in depth analysis and guide on the perishable press blog post. The post is old (2006) but is relevant and every time I refer to it I learn new things about .htaccess.

No comments:

Post a Comment