How to read a GET VAR into mod_headers

How to read a GET VAR into mod_headers

am 16.09.2009 19:41:17 von David Taveras

--0014853dfa8bfed61d0473b56729
Content-Type: text/plain; charset=ISO-8859-1

Hello,

A portion of our users are coming in our sites with a query string get var.
I want to read that VAR and convert it to a cookie for permanent use in the
future.

How do I read a get var and pass it to mod_headers ?

Btw, for those of you who wonder why we are not doing this with mod_rewrite
it is because we use apache1 and mod_rewrite doesnt permit creating a
cookie.

Thank you.

-- David

--0014853dfa8bfed61d0473b56729
Content-Type: text/html; charset=ISO-8859-1

Hello,

A portion of our users are coming in our sites with a query string get var. I want to read that VAR and convert it to a cookie for permanent use in the future.

How do I read a get var and pass it to mod_headers ?


Btw, for those of you who wonder why we are not doing this with mod_rewrite it is because we use apache1 and mod_rewrite doesnt permit creating a cookie.

Thank you.

-- David




--0014853dfa8bfed61d0473b56729--

Re: How to read a GET VAR into mod_headers

am 17.09.2009 10:24:20 von Tom Evans

On Wed, 2009-09-16 at 12:41 -0500, David Taveras wrote:
> Hello,
>
> A portion of our users are coming in our sites with a query string get
> var. I want to read that VAR and convert it to a cookie for permanent
> use in the future.
>
> How do I read a get var and pass it to mod_headers ?
>
> Btw, for those of you who wonder why we are not doing this with
> mod_rewrite it is because we use apache1 and mod_rewrite doesnt permit
> creating a cookie.
>
> Thank you.
>
> -- David
>
>

In 1.3, you can't do this without a custom module. Potentially you could
do this with mod_perl..


Tom




------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org