htaccess for anyone dir, fix some error in code