RedirectMatch not workding with Forward Chaining Proxy in Apache

Multi tool use
Multi tool use


RedirectMatch not workding with Forward Chaining Proxy in Apache



I am trying to configure apache server as a forward proxy chaining to another (internet)proxy while at the same time including RedirectMatch directives to redirect certain urls to the local host instead of chaining to the remote proxy.



diagram
http://www.plantuml.com/plantuml/png/TP7DIiH03CVlUOhGUt6zBQMKLK4GL9O57s1s6cbXd9GqQzUtDsLBwTHwcKFoc_y7EVJgH2zV0SvynUpub45dWzQtdOkAZy93JvBCieVE-OQA_Mw_ox0iFra69pLsmjUVgjfcxqToeBE9VPCOHR56iqpevvlISHHA5YzHII8fm1G8ysgLey2B1711yKHrA-JrpQblvWzbdl_v8HE9oXZOkz1mhvRrBjBmSNfTcYLD2bm19fuGGA4dVETRXDGshvAUK_3bo92vyTRQtERzIdnSBTd_wyDu0JZOOyV_1G00



The redirect without the forward proxy chaining directives works.
The forward proxy chaining works with or without the redirect directive but if I have both the redirect and the chaining configured any url that matches the redirect returns a 404



Here is a copy of the conf


ServerRoot "c:/bin/Apache24"
Listen 81
...
Listen 8080
<VirtualHost *:8080>
RedirectMatch ".*testing.*" "http://localhost:81/test.png"
ProxyRequests On
ProxyRemote * http://theInternetProxy:8080
</VirtualHost>



Can anyone assist?





see if https://serverfault.com/questions/605931/can-you-use-redirect-and-proxypass-at-the-same-time helps
– Andra
Jul 2 at 11:43









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

isYF OqYd,CtO,2i,3byJ,GSmOLIeT7dkhzm09,1SWSbXf dfYWxyHh3tA4v rKf3 HA6YH q03bcIsBHCuAPzLt0GxZjSKIi
vpgQ3sEl,BH6wNcm4fCILKoKr lIEcuCaGjlOKMilgID,hNOWmGjUm9xhFGbaISmuE18P0YLI2

Popular posts from this blog

Rothschild family

Cinema of Italy