According to this thread the RewriteBase rule in Apache is superfluous because IIS7 writes the base is auto-calculated. However, for example, I have rewrite rules in a folder called /laravel on my server. So the web url looks like server.com/laravel. However, any links that look like <a href="/message/add">Add Message</a> go to server.com/message/add as opposed to server.com/laravel/message/add. Is there a way to have the links in the folder, /laravel, use that folder as its base so that when you click on <a href="/message/add">Add Message</a> it goes to server.com/laravel/message/add vs server.com/message/add?
I forgot to add the link to the original thread:
http://forums.iis.net/t/1162232.aspx?IIS+7+RewriteBase+Using+sub+directories+with+URLRewrite+