You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by philguillard <ph...@gmail.com> on 2005/12/14 07:27:43 UTC
[users@httpd] mod_rewrite and session problem
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org