[Mediawiki-l] persistent session problems for two wikis ononeserver (log into one, always logged out of other)

MHart wiki at matthart.com
Wed Jun 8 14:32:27 UTC 2005


You're right - looks like you can set $wgCookieDomain - change that to your 
/wikiA page should do it.

- MHart
- http://taxalmanac.org


----- Original Message ----- 
From: "Jamie Bliss" <astronouth7303 at gmail.com>
To: "MediaWiki announcements and site admin list" 
<mediawiki-l at wikimedia.org>
Sent: Tuesday, June 07, 2005 5:59 PM
Subject: Re: [Mediawiki-l] persistent session problems for two wikis 
ononeserver (log into one, always logged out of other)


I believe there is a setting to change the cookie prefix. Check
DefaultSettings.php.

On 6/7/05, MHart <wiki at matthart.com> wrote:
> This is a characteristic of browser cookies and is not a MediaWiki flaw. 
> The
> login is saved in a cookie based on the site (http://foo.bar) and not on a
> specific page of the site (/wikiA or /wikiB). You need to use virtual
> hosting in Apache and different domain names for the sites - aka
> http://foo.bar and http://foo2.bar. I host about 11 wikis on one box, all
> with a single domain. I have to re-login on each of those. I also host
> another 3 on a separate box using virtual hosting, and they all retain the
> logins.
>
> - MHart
> - http://taxalmanac.org
>
>
> ----- Original Message -----
> From: "Julian Rendell" <wandering.womble at gmail.com>
> To: <mediawiki-l at Wikimedia.org>
> Sent: Monday, May 30, 2005 1:52 PM
> Subject: [Mediawiki-l] persistent session problems for two wikis on
> oneserver (log into one, always logged out of other)
>
>
> Hi there-
>
> We have two media-wiki (1.3.9) based wikis installed on a single
> server.  The problem we're facing is that when we log into one of the
> wikis, and then go to the other (e.g. two windows/tabs in firefox),
> then try to edit in the first, it *always* forces us to re-login.
>
> This *really* sucks :-(.  Everything else is working really, really well.
>
>
> Some details: the server is running linux/apache2, both wikis have
> alias directives in the apache config to do 'index.php' url hiding.
> One wiki is limited access, controlled by the apache mod_auth_ldap via
> apache access restriction directives.  (Note, we're not using Apache's
> own mod_auth_ldap, but an alternate one that supports nested groups.)
>
> Both are on running from the same domain, just different
> directories/sub-URLs (e.g. http://foo.bar/wikiA & http://foo.bar/wikiB
> .)
>
> I've done some googling/read the release notes, and can't find any
> pointers, other than some notes in earlier version release notes that
> imply this problem shouldn't be happening.
>
> Any help greatly appreciated, I'm relatively new to setting up
> apache/php/media-wiki.
>
> (PS- unless there's a known bug, I don't want to upgrade media-wiki
> just to see if that fixes it... unfortunately I don't have a lot of
> time to support these sites, and need to 'save' time for an expected
> upcoming hardware upgrade, which is when I hope to update the
> software.)
>
> Thanks in advance-
>
> Julian
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>


-- 
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Have lots of invites. Gmail now has 2GB.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l 





More information about the MediaWiki-l mailing list