A bit more on the scenarios...
If I go to "http://mywikiserver/xwiki/bin/", I get redirected to this URL:
http://mywikiserver/xwiki/bin/login/XWiki/XWikiLogin?xredirect=%2Fxwiki%2Fb…
Note that there's a redirect URL encoded in the redirected URL:
/xwiki/bin/view/XWiki/XWikiLogin%3Bjsessionid%3D3vse8s76j4vg3
I interpret this to mean that the login page will redirect me to the login
page with a specific jsessionid once I successfully authenticate. That's
not the page I was trying to access. Wierd!
But now check this out: if I just go, without authenticating, directly to
the original URL again, "http://mywikiserver/xwiki/bin/", in the same
browser window, I get redirected to this URL (without any redirect
attached):
http://mywikiserver/xwiki/bin/login/XWiki/XWikiLogin
However, using WebScarab, I can see that I do have a JSESSIONID set, and
its the same one from the original URL.
So is there something involving the JSESSIONID being on the query string
instead of a cookie that messes u p the redirect URL?
Regards,
Brian.
BSayatovic(a)amig.c
om
To
06/18/2007 04:31 xwiki-users(a)objectweb.org
PM cc
Subject
Please respond to [xwiki-users] XWiki 1.1-M1 post
xwiki-users@objec login page
tweb.org
I've got XWiki 1.1 milestone 1 deployed. When I try to access a protected
page...
http://mywikiserver/xwiki/bin/view/Main/
I get redirected to the login page. The URL contains a query string to
track what I was trying to access:
http://mywikiserver/xwiki/bin/login/XWiki/XWikiLogin?xredirect=%2Fxwiki%2Fb…
When I then successfully authenticated, I am redirected to the following
URL:
http://mywikiserver/xwiki/bin/view/XWiki/XWikiLogin%3Bjsessionid%3D1rvyil3a…
However, that page apparently doesn't exist. I get the notice that "The
requested document could not be found." However, if I go explicitly to the
login page and log in, I get redirected to the following URL which works:
http://mywikiserver/xwiki/bin/view/Main/WebHome
Any ideas?
Regards,
Brian.
-----------------------------------------
CONFIDENTIALITY STATEMENT:
This e-mail transmission contains information that is intended to
be confidential. It is intended only for the addressee named
above. If you receive this e-mail in error, please do not read,
copy, or disseminate it. If you are not the intended recipient,
any disclosure, copying, distribution or use of the contents of
this information is prohibited. Please reply to the message
immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer
system. Your assistance in correcting this error is appreciated.
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws