add RewriteBase alternative for different environments