generate RewriteBase in htaccess from ROUTE_ROOT