.htaccess dealing with error handling in prod/dev envs