On 12/03/2010 01:20 AM, Nevzat Guler wrote:
Hello xwiki users, I just installed xwiki on windows server. I unpacked the stand alone version Stable: xwiki-enterprise-jetty-hsqldb-2.6.zip into a directory called XWikiHome and setup MySQL data base, created a new user. When I am in the server itself, I can login. But when I try to login from another computer I cannot login and the xwiki creates a message:
WARN xwiki.MyPersistentLoginManager - Login cookie validation hash mismatch! Cookies have been tampered with
Can you try to edit webapps/xwiki/WEB-INF/xwiki.cfg and add at the end of the file: xwiki.authentication.useip=false Then restart XWiki.
I have seen a few other emails regarding the same issue. But I don't see a solution. One suggestion was to change cookie version to cookie.setVersion(1); but I am not sure where this change needs to be made? My XWikiHome folder contains the following folders and files:
XWikiHome: database (folder) jetty (folder) META-INF (folder) webapps (folder) start_xwiki start_xwiki start_xwiki_debug start_xwiki_debug stop_xwiki stop_xwiki xwiki
Within the folders, I don't see any configuration file or a file like a "..LoginManager..". Did I not install this correctly? But I can actually open the pages when I am in the server from internet explorer. But from another computer, I get the login page but cannot login. As a side note, I have tried version 2.5 last week and I did not have this problem. Then I wanted to change the location of the xwiki, so I deleted that directory and reinstalled the 2.6 version into another drive.
I appreciate your suggestions. Thanks, - Nevzat
-- Sergiu Dumitriu http://purl.org/net/sergiu/