Re: mod_alias equivalent for tomcat 8?

2017-09-11 Thread Mark Thomas
On 11/09/17 16:07, Chris Cheshire wrote: > Why doesn't tomcat copy context.xml into the conf tree if it doesn't > exist when it > deploys a webapp on startup? That behaviour caused problems for some users so it is configurable. See copyXML on the Host Mark

Re: mod_alias equivalent for tomcat 8?

2017-09-11 Thread Chris Cheshire
On Mon, Sep 11, 2017 at 9:40 AM, Mark Thomas wrote: > On 08/09/17 23:00, Chris Cheshire wrote: >> In tomcat8, how do I go about configuring a Resources element to >> replace mod_alias directives in httpd? > > > >> I have tried all kinds of variations of >> >> >> >

Re: mod_alias equivalent for tomcat 8?

2017-09-11 Thread Mark Thomas
On 08/09/17 23:00, Chris Cheshire wrote: > In tomcat8, how do I go about configuring a Resources element to > replace mod_alias directives in httpd? > I have tried all kinds of variations of > > >className="org.apache.catalina.webresources.DirResourceSet" >

mod_alias equivalent for tomcat 8?

2017-09-08 Thread Chris Cheshire
In tomcat8, how do I go about configuring a Resources element to replace mod_alias directives in httpd? Currently my mod_alias config for httpd has AliasMatch ^/images/(.*)$ /var/cdn/sandbox1/images/$1 AliasMatch ^/(.*)/images/(.*)$ /var/cdn/sandbox1-$1/images/$2 Order