httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gryzli Bugbear <gryzli.the.bugb...@gmail.com>
Subject [users@httpd] Help with conditional ProxyPassMatch
Date Wed, 12 Apr 2017 18:42:33 GMT
Hi to all,

I want to make conditional forward proxy within Apache ,based on request 
header if a given request header exists, I want to proxy the request, if 
not, not proxy
and also I need to do this NOT with RewriteRule and [P] flags.

I can't find how to define conditional proxying based on some 
environment variable or request header, to achieve the following:

<If RequestHeader - Some_Header == 1 >
     ProxyPassMatch / http://127.0.0.1:8080
</>

Any help would be strong appreciated :)

Regards,

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message