build: making htaccess more flexible