« Return to Thread: Re: User Preferences not getting saved
Bhavani-8 wrote:The baseURL we have is:
jspwiki.baseURL=http://Servername.com/wiki/
Yet the preferences do not seem to work.
I tried analyzing the cookie and this is how it looks before and after updating the preferences:
Before:
NameJSPWikiUserPrefsValue%7B%22PrevQuery%22%3A%22%22%7DHostw3int.hitachigst.comPath/wiki
After:
NameJSPWikiUserPrefsValue%7B%22PrevQuery%22%3A%22%22%2C%22SkinName%22%3Anull%2C%22TimeZone%22%3A%22America%2FDenver%22%2C%22DateFormat%22%3A%22dd-MMM-yyyy%20HH%3Amm%22%2C%22Orientation%22%3A%22fav-left%22%2C%22editor%22%3A%22plain%22%2C%22Language%22%3A%22en%22%2C%22SectionEditing%22%3Afalse%7DHostw3int.hitachigst.comPath/wiki
Thanks,
Bhanu :)
--- On Fri, 7/10/09, TruptiP <trupti.p27@gmail.com> wrote:
From: TruptiP <trupti.p27@gmail.com>
Subject: Re: User Preferences not getting saved
To: jspwiki-user@incubator.apache.org
Date: Friday, July 10, 2009, 12:14 PM
Hi,
I faced same issue for my JSPWiki instance.
Reason for my problem is =====
BaseURL of JSPWiki is -> http://ServerName.com:8080/JSPWiki/
But when we access JSPWiki it is referred as ->
http://ServerName.com/JSPWiki
I have setup redirects in Apache configuration so that
Redirect /index.htm http://ServerName.com/JSPWiki
and again
http://ServerName.com/JSPWiki -> http://ServerName.com:8080/JSPwiki
So even people access http://ServerName.com/JSPWiki it must redirect to
JSPWiki base URL
So cookies are stored with the domain name ServerName.com
However, JSPWiki try to access preferences from cookie with domain name
ServerName.com:8080.
To overcome this problem , I updated apache configuration. And then user
preferences started working for me.
Redirect /index.htm http://ServerName.com:8080/JSPWiki
Please check with your configurations.
I hope this will help you.
Regards,
Trupti Patil
« Return to Thread: Re: User Preferences not getting saved
| Free embeddable forum powered by Nabble | Forum Help |