On Mon, Sep 24, 2018 at 11:46 AM David Tkacik
wrote:
>
> Thanks Eric,
>
> But if I have multiple rewrite rules and rewrite conditions, how do I speficy
> for which cond and rule I want to apply it in context of a URI ?
>
> Would waterfall work here ?
>
> For example in one config:
>
> RewriteCond
Thanks Eric,
But if I have multiple rewrite rules and rewrite conditions, how do I speficy
for which cond and rule I want to apply it in context of a URI ?
Would waterfall work here ?
For example in one config:
RewriteCond %{QUERY_STRING} ^123 [NC]
RequestHeader set "X-API-KEY" "proxied"
Rewri
On Mon, Sep 24, 2018 at 11:14 AM David Tkacik
wrote:
>
> I have this config included via Include conf.d/myconfig/*.conf within my
> virtualhost.
>
>
> ProxyAddHeaders off
> RewriteEngine on
> RewriteCond %{QUERY_STRING} ^123 [NC]
> RequestHeader set "X-API-KEY" "proxied"
> RewriteRule (.*) "http
I have this config included via Include conf.d/myconfig/*.conf within my
virtualhost.
ProxyAddHeaders off
RewriteEngine on
RewriteCond %{QUERY_STRING} ^123 [NC]
RequestHeader set "X-API-KEY" "proxied"
RewriteRule (.*) "https://${HOST}$1"; [QSD,P,L]
But the above rule is also proxying the /var/w