A simle cheatsheet for common htaccess usage.
Handy reference regarding PHP filtering and escaping for security and validation.