Wednesday, 23 April 2014

Use of ProxyPassMatch


So, what to do if you need make use of Regular Expression instead of simple prefix matching.

ProxyPassMatch ^(/.*\.phtml)$ http://lt-legacy-1171567772.eu-west-1.elb.amazonaws.com$1

As you see here, any match for .phtml file will be passed to another backend server.


No comments:

Post a Comment