Re: Access Log Entries with VHost Rewriting

2014-07-07 Thread Peter Rifel
Ah my mistake, after stepping through the rewrite valve code it turns out the rule wasn't working after all. The [host] flag for the rule means you're comparing the host header rather than the url of the request. For anyone else setting up virtual-host rewriting, the correct rewrite.config for th

Access Log Entries with VHost Rewriting

2014-07-07 Thread Peter Rifel
Hello, I'm implementing some virtual-host rewriting in tomcat 8's rewrite valve and am wondering if I can somehow set the order that valves are processed for a host. I have a default host and want all requests that have a HTTP_HOST of *cdn.domain.com to be redirected to a second host. I have