add htaccess and update shared deploy config