It's already in the examples of mod_headers:

SetEnvIf MyRequestHeader myvalue HAVE_MyRequestHeader
Header set MyHeader "%D %t mytext" env=HAVE_MyRequestHeader

so you just need to midify it to something like this:

SetEnvIf MyRequestCookieHeader your_regexp_here HAVE_MyRequestCookieHeader
RequestHeader unset MyRequestCookieHeader env=HAVE_MyRequestCookieHeader



On Thu, Nov 24, 2011 at 2:34 AM, David Dabbs <dmda...@gmail.com> wrote:

> I’m using httpd in front of a Tomcat app server and would like to remove
> some incoming cookies before requests are reverse-proxied to Tomcat. The
> cookie names are not fixed, but do match several simple regexps. Is there a
> recipe with mod_headers/mod_rewrite that would allow me to strip these
> cookies before these requests are handled?****
>
> ** **
>
> Thanks,****
>
> ** **
>
> David****
>
> ** **
>

Reply via email to