public marks

PUBLIC MARKS from apachedude with tag set

November 2007

Smart HTTP and HTTPS RewriteRule Redirects

Smarter SSL HTTPS to HTTP Redirections in .htaccess using RewriteRule to set an environment variable

October 2007

Fresh .htaccess Examples: Cookies, Variables, Custom Headers

by 1 other
htaccess mod_rewrite code for Cookie Manipulation and Tests, Set Environment Variables and use them to send Headers and Rewrites, and Mod_Security .htaccess Examples

May 2007

mod_rewrite Fix for Caching Updated Files

(via)
Web Developers sometimes use file.ext?v=004 as a version control system to force visitors to use updated files. This is terrible. Instead link to apache-003.css and set it to be cached forever. When you change the file you just change the links to apache-004.css. That eliminates millions of bandwidth and resource robbing If-Modified-Since requests.

Speed Up Sites with htaccess Caching

by 2 others (via)
2 awesome ways to implement caching on your website using Apache .htaccess or httpd.conf. Both methods are extremely simple to set up and will dramatically speed up your site!

April 2007

Using HTTP Headers with htaccess

How would you like to be able to send P3P privacy headers, Content-Type: UTF-8, Content-Language: en-US, etc.. using just htaccess? Now you CAN!