I have htaccess files that use different RewriteBase on production and dev (windows) pc.
Currently I change the RewriteBase manually when deploying.
Can this be done automatically with some definition? The dev servers is windows 7 and production is Linux.
Here is an excerpt:
# !!! Change here between local host and production server!!!
# for local dev server
RewriteBase /app.xxx.com
# for production server
#RewriteBase /