RewriteEngine on RewriteOptions inherit RewriteRule ^labs(.*?)$ dev$1 [R]