Tomcat 8 URL Rewrite
I have an AngularJS webapp and Jersey backend. I need to setup URL rewriting, so everything except given exceptions will be rewritten to Angular's index.html. Eg.: http://my.domain.com/about will be rewritten http://my.domain.com/photos/photo1.jpg will NOT be rewritten (file photo 1 exists) http://my.domain.com/rest/myservice will be NOT be rewritten (it is a call to REST service) I have set up the Tomcat 8 URL Rewrite Valve as follows: in conf/server.xml <Host name="my.domain.com" appBase="webapps/MyDomainServer" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware=