Re: mod_rewrite & cookies & apache 1.3.. known problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 3, 2009 at 6:42 AM, David Taveras<d3taveras38d3@xxxxxxxxx> 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@xxxxxxxxx
krist@xxxxxxxxxxxxx
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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux