This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Fixed
FS#581 More than one dokuwiki installations on the same server.
ACL & Authentication
2005-10-06
Dokuwiki gets confused when there are more than one dokuwiki installations on the same server. Apparently, when switching from one dokuwiki site to another on the same server produces problems with the associated session cookie. I have fixed this by changing inc/init.php, line 49:
This hack produces a different session_name for each dokuwiki installation on the same server. It seems to work fine.
2005-10-06nvn
I would like to add that this very same problem happened in my server, but only when I activated suphp, and thus, the different dokuwiki installations started running each under different users. The problem seems to be related to some temporal files created on the server, with the persmission of the first user, which then the second user's dokuwiki will try to modify.
2006-07-03Gouman
Can someone look at this again ? I have had the same problem, which seems to be easily solved by using a hash for the Session cookie name (as above). Otherwise, we need to get each user to edit the inc/init.php to change the line manually.
Thanks
2006-08-31gb
I cannot reproduce that with the current revision (Darcs 2006-08-28) and with 4 differents wikis installed on the same server, with 4 different sets of users and rights (ACLs). I have a different user logged in in each wiki, Firefox shows 4 different cookies set by dokuwiki: login in/out, editing with any user in wiki1 doesn't impact users of the other 3 wikis.
nvn, can you make a test with a recent dokuwiki-snapshot?
2006-09-18ChrisS
The dokuwiki cookie is based on the wiki title and has been since 2005-07-01. The only problem can be if two wiki's at the same domain use the same $conf['title']. To overcome this the cookie name could be based on DOKU_URL + $conf['title'].