mod_rewrite & cookies & apache 1.3.. known problem?
am 03.09.2009 06:42:34 von David Taveras
--001485f6c58826fddc0472a503b4
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I have a site that uses mod_rewrite for URLs... id like to include a
tracking cookie for users that are entering via URLs made by mod_rewrite.
The problem is that the cookie isnt getting passed through the mod_rewrite
URL.
Ive been told (and tested) that Apache2 mod_rewrite does indeed manage this
situation.
My question is:
Can anybody else confirm that this issue exists with Apache 1.3 and
mod_rewrite.. and why?
Thank you
Daniel
--001485f6c58826fddc0472a503b4
Content-Type: text/html; charset=ISO-8859-1
Hello,
I have a site that uses mod_rewrite for URLs... id like to include a tracking cookie for users that are entering via URLs made by mod_rewrite. The problem is that the cookie isnt getting passed through the mod_rewrite URL.
Ive been told (and tested) that Apache2 mod_rewrite does indeed manage this situation.
My question is:
Can anybody else confirm that this issue exists with Apache 1.3 and mod_rewrite.. and why?
Thank you
Daniel
--001485f6c58826fddc0472a503b4--
Re: mod_rewrite & cookies & apache 1.3.. known problem?
am 03.09.2009 07:24:32 von Krist van Besien
On Thu, Sep 3, 2009 at 6:42 AM, David Taveras wrote:
> Hello,
>
> I have a site that uses mod_rewrite for URLs... id like to include a
> tracking cookie for users that are entering via URLs made by mod_rewrite.
> The problem is that the cookie isnt getting passed through the mod_rewrite
> URL.
Cookies are not part of the URL. So mod_rewrite does not manipulate
them. If a cookie is part of a request, it will normally still be part
of the request after mod_rewrite has manipulated the URL.
> Ive been told (and tested) that Apache2 mod_rewrite does indeed manage this
> situation.
You can use mod_rewrite to do all kinds of nifty things. You have to
realise however that mod_rewrite's purpose is to manimpulate URLs. It
can set cookies as a sideeffect.
If your cookie "does not get through" it is most likely not being sent
to the server by the browser in the first place. Check this first.
> Can anybody else confirm that this issue exists with Apache 1.3 and
> mod_rewrite.. and why?
You have formaluted your problem in a way that it is not possible for
anyone to confirm (or deny) that this is an issue.
Krist
--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?
------------------------------------------------------------ ---------
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