Htaccess – Prevent Unauthorized Directory Browsing

Prevent unauthorized directory browsing by instructing the server to serve a “xxx Forbidden – Authorization Required” message for any request to view a directory. For example, if your site is missing it’s default index page, everything within the root of Continue reading Htaccess – Prevent Unauthorized Directory Browsing

Htaccess – Improve Site Transfer Speed by Enabling File Caching

The htaccess genius over at askapache.com explains how to dramatically improve your site’s transfer speed by enabling file caching 3. Using time in seconds* to indicate the duration for which cached content should endure, we may generalize the htaccess rules Continue reading Htaccess – Improve Site Transfer Speed by Enabling File Caching