You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sylvain Goulmy <sy...@gmail.com> on 2015/05/22 14:49:18 UTC

[users@httpd] Warning at startup while using a variable set by rewrite rule in the ProxyPassReverseCookieDomain directive

Hi all,

Since i migrate from Apache 2.2.22 to 2.4.10 i have the following warning
when i launch Apache :

[core:warn] [pid 26605:tid 140610782807808] AH00111: Config variable
${B2C_DOMAIN} is not defined

This variable is set using a rewrite rule :

    ProxyPassInterpolateEnv On
    RewriteCond %{HTTP_HOST}        ^.+\.mycompany\.(.+)$
    RewriteRule ^/othercompany/.*$ - [E=B2C_DOMAIN:.mycompany.%1]

and is used it in the following directive :

   ProxyPassReverseCookieDomain .othercompany.com ${B2C_DOMAIN} interpolate

Is there any specific interpolation syntax to use or an alternate solution
to get rid of this warning ? I haven't found such thing in the
documentation.

Thanks in advance for your support.

Sylvain