adapting the htaccess