htaccess and logging update