Re: [users@httpd] ProxyPass + Redirect

2015-12-28 Thread Christopher Schultz
Yann, On 12/17/15 3:51 AM, Yann Ylavic wrote: > On Thu, Dec 17, 2015 at 8:14 AM, Marat Khalili wrote: >> Crude, but what about: >> >> ProxyPassMatch "^/foo/(.+)$" "http://localhost:8009/foo/$1"; > > or (along the lines): > ProxyPassMatch ^/foo/((?!index\.html$).+)$ http://localhost:8009/

Re: [users@httpd] ProxyPass + Redirect

2015-12-17 Thread Yann Ylavic
On Thu, Dec 17, 2015 at 8:14 AM, Marat Khalili wrote: > Crude, but what about: > > ProxyPassMatch "^/foo/(.+)$" "http://localhost:8009/foo/$1"; or (along the lines): ProxyPassMatch ^/foo/((?!index\.html$).+)$ http://localhost:8009/foo/$1 Regards, Yann. --

Re: [users@httpd] ProxyPass + Redirect

2015-12-16 Thread Marat Khalili
Crude, but what about: ProxyPassMatch "^/foo/(.+)$" "http://localhost:8009/foo/$1"; ? (not sure about + escaping, can be \+) -- With Best Regards, Marat Khalili On 17/12/15 01:34, Christopher Schultz wrote: All, I've got a reverse-proxy in front of Tomcat that I'd like to configure. Wh

Re: [users@httpd] ProxyPass + Redirect

2015-12-16 Thread Christopher Schultz
Bill, On 12/16/15 5:45 PM, William A Rowe Jr wrote: > On Wed, Dec 16, 2015 at 4:34 PM, Christopher Schultz > mailto:ch...@christopherschultz.net>> wrote: > > >RedirectMatch ^/foo(/)?$ /foo/someplace_specific.html >RedirectMatch ^/foo/index.html$ /foo/someplace_specific.html >

Re: [users@httpd] ProxyPass + Redirect

2015-12-16 Thread William A Rowe Jr
On Wed, Dec 16, 2015 at 4:34 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > >RedirectMatch ^/foo(/)?$ /foo/someplace_specific.html >RedirectMatch ^/foo/index.html$ /foo/someplace_specific.html >ProxyPass /foo/index.html ! >ProxyPass /foo/ http://localhost:8009/foo

[users@httpd] ProxyPass + Redirect

2015-12-16 Thread Christopher Schultz
All, I've got a reverse-proxy in front of Tomcat that I'd like to configure. When using mod_jk, we have a configuration like this: RedirectMatch ^/foo(/)?$ /foo/someplace_specific.html RedirectMatch ^/foo/index.html$ /foo/someplace_specific.html JkMount /foo/*.do myWorker This works swi