You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by jlo_gestalt <jl...@gestalt-llc.com> on 2008/03/19 16:57:37 UTC

Save redirects to localhost

JSPWiki version 2.5.124.
Deployed on jboss under a different war (CopWiki).

Basically everything works fine when browsing and saving pages locally. But
once I try and save a page from a different machine, it redirects to
localhost. When searching the mailing list this seems to be a common problem
that has went unanswered.
I have tried setting all combinations of jspwiki.baseURL and
jspwiki.referenceStyle with none of them working.

Steps to reproduce
- Deploy jspwiki as a war to jboss on machine alice
- Go to the wiki from machine bob and access a page
(http://alice:8080/jspwiki)
- Click Edit
- Click Save
- jspwiki redirects the user on machine bob to localhost

What I expect is to set jspwiki.baseURL to http://alice:8080/ and set
jspwiki.referenceStyle to relative and everything work from any machine.
-- 
View this message in context: http://www.nabble.com/Save-redirects-to-localhost-tp16145550p16145550.html
Sent from the JspWiki - User mailing list archive at Nabble.com.


Re: Save redirects to localhost

Posted by David Gao <da...@gmail.com>.
Setting jspwiki.baseURL to localhost will get this situation  if JSPWiki 
is accessed from another machine. You may have a look at jspwiki.baseURL 
setting in your JSPWiki.properties.

-------- Original Message --------
>
> Let us know how it turns out!
>
> /Janne
>
> On Mar 20, 2008, at 05:51 , jlo_gestalt wrote:
>
>>
>> Sorry about that.
>> I wasn't aware that version was a dev version. I will attempt the 
>> upgrade
>> tomorrow and hope that fixes it. I will let you know.
>>
>>
>> Janne Jalkanen wrote:
>>>
>>>> JSPWiki version 2.5.124.
>>>
>>> JSPWiki 2.5.124 is a development version, and is not supported.
>>> Looking quickly at the ChangeLog, at least two redirection issues
>>> have been fixed since that and the latest stable version.  Please
>>> always use the latest stable to see if your issues are fixed before
>>> contacting the mailing list.
>>>
>>>> Steps to reproduce
>>>> - Deploy jspwiki as a war to jboss on machine alice
>>>
>>> Don't deploy jspwiki as a war - make sure it is unarchived properly.
>>> This might be the cause of your problems or not.
>>>
>>> Please run something like HttpHeaders plugin in your browser and
>>> paste us the log, please.  Also we need the jspwiki.log -file.  But
>>> first upgrade to the latest version. :-)
>>>
>>> /Janne
>>>
>>>
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Save-redirects-to-localhost-tp16145550p16171012.html 
>>
>> Sent from the JspWiki - User mailing list archive at Nabble.com.
>
>


-- 
David Gao (davidgjm@gmail.com)


Re: Save redirects to localhost

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
Let us know how it turns out!

/Janne

On Mar 20, 2008, at 05:51 , jlo_gestalt wrote:

>
> Sorry about that.
> I wasn't aware that version was a dev version. I will attempt the  
> upgrade
> tomorrow and hope that fixes it. I will let you know.
>
>
> Janne Jalkanen wrote:
>>
>>> JSPWiki version 2.5.124.
>>
>> JSPWiki 2.5.124 is a development version, and is not supported.
>> Looking quickly at the ChangeLog, at least two redirection issues
>> have been fixed since that and the latest stable version.  Please
>> always use the latest stable to see if your issues are fixed before
>> contacting the mailing list.
>>
>>> Steps to reproduce
>>> - Deploy jspwiki as a war to jboss on machine alice
>>
>> Don't deploy jspwiki as a war - make sure it is unarchived properly.
>> This might be the cause of your problems or not.
>>
>> Please run something like HttpHeaders plugin in your browser and
>> paste us the log, please.  Also we need the jspwiki.log -file.  But
>> first upgrade to the latest version. :-)
>>
>> /Janne
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Save-redirects- 
> to-localhost-tp16145550p16171012.html
> Sent from the JspWiki - User mailing list archive at Nabble.com.


Re: Save redirects to localhost

Posted by jlo_gestalt <jl...@gestalt-llc.com>.
Sorry about that.
I wasn't aware that version was a dev version. I will attempt the upgrade
tomorrow and hope that fixes it. I will let you know.


Janne Jalkanen wrote:
> 
>> JSPWiki version 2.5.124.
> 
> JSPWiki 2.5.124 is a development version, and is not supported.   
> Looking quickly at the ChangeLog, at least two redirection issues  
> have been fixed since that and the latest stable version.  Please  
> always use the latest stable to see if your issues are fixed before  
> contacting the mailing list.
> 
>> Steps to reproduce
>> - Deploy jspwiki as a war to jboss on machine alice
> 
> Don't deploy jspwiki as a war - make sure it is unarchived properly.   
> This might be the cause of your problems or not.
> 
> Please run something like HttpHeaders plugin in your browser and  
> paste us the log, please.  Also we need the jspwiki.log -file.  But  
> first upgrade to the latest version. :-)
> 
> /Janne
> 
> 

-- 
View this message in context: http://www.nabble.com/Save-redirects-to-localhost-tp16145550p16171012.html
Sent from the JspWiki - User mailing list archive at Nabble.com.


Re: Save redirects to localhost

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
> JSPWiki version 2.5.124.

JSPWiki 2.5.124 is a development version, and is not supported.   
Looking quickly at the ChangeLog, at least two redirection issues  
have been fixed since that and the latest stable version.  Please  
always use the latest stable to see if your issues are fixed before  
contacting the mailing list.

> Steps to reproduce
> - Deploy jspwiki as a war to jboss on machine alice

Don't deploy jspwiki as a war - make sure it is unarchived properly.   
This might be the cause of your problems or not.

Please run something like HttpHeaders plugin in your browser and  
paste us the log, please.  Also we need the jspwiki.log -file.  But  
first upgrade to the latest version. :-)

/Janne