[users@httpd] mod_rewrite and session problem

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

 



Hi,

I use prefixes (foo1.domain.com, foo2.doamin.com), my application is made of a servlet inside one container/context. So it is not virtual hosting, just a prefix changed from left to right side with mod_rewrite rules:
RewriteCond %{HTTP_HOST} !^www\.mydomain\.org [NC]
RewriteRule ^(.+) www.mydomain.org$1
RewriteRule ^([^.]+)\.citycita\.org(.+) /prefix$2 [PT]

Is there a way for session tracking to see one session there, in order for a user authenticated to be able to see foo.mydomain.com and www.mydomain.com the same way? I use default cookie system provided by my servlet and these cookies hostame value is different for each prefix so i loose the session.
Regards,

Phil

---------------------------------------------------------------------
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