Fix .tmp directories not being accessible from web
Add conditional gitignore
Fix conditionals
Update htaccess code