incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TruptiP <trupti....@gmail.com>
Subject Re: User Preferences not getting saved
Date Mon, 13 Jul 2009 10:12:21 GMT

Hi

After observing cookies 

I found that the word Path comes in wiki baseURL

Is it part of baseURL or it is something different. Please check and try to
find out what it is?

If your baseURL is Hostw3int.hitachigst.com/wiki then it should come as it
is.

Before:
NameJSPWikiUserPrefsValue%7B%22PrevQuery%22%3A%22%22%7DHostw3int.hitachigst.comPath/wiki


Thanks,
Trupti Patil


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
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-User-Preferences-not-getting-saved-tp24378708p24459022.html
Sent from the JspWiki - User mailing list archive at Nabble.com.


Mime
View raw message