This exception is basically telling you, that Rewrite was trying to forward the request to /pages/site/index.htm but the container wasn’t able to do so, because someone (probably a filter that executed before) already wrote something to the response. There are various filter involved here, like Spring Security for example.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.