.htaccess tips

While I don't claim to be an expert in Apache's .htaccess file, these code samples have worked for me.