I see.. It's a farm configured with path based wiki. It's more tricky
than based on DNS names.
This looks like the bug
which we fixed in 1.7.1.
It's hard to help you out on this.
Thomas, do you see any reason why this would happen on 1.7.2. Can you
also verity 1.7.3 works fine in path based wiki.
Concerning the login/logout, this could be a problem to report in JIRA
that is also specific to path based wiki. The cookiedomains settings
does not have any effect in path based subwikis. However if you cannot
logout, then it means the cookie has something different for each
subwiki. I cannot say because we do not see the login part in the
headers output. Having a session of headers reported for the issue of
login/logout would be usefull. You can report in JIRA. Make sure you
document any specific authentication settings that are used in xwiki.cfg
Ludovic
François Cedelle a écrit :
Le 13 août 09 à 15:26, Ludovic Dubost a écrit :
François Cedelle a écrit :
Hello,
I'm using XEM 1.7.2 with Tomcat and Apache on Debian
- I ca create virtual wiki but i can't modify them. When I try to
preview or view my change, I'm automaticly redirected to the
xredirect
page...
You would need to show a log of the URLs called. You can use Firefox's
LiveHttpHeaders for that.
Without that it's hard to help
Ok :
http://138.102.118.214:10080/xwiki/wiki/fcedelle/preview/Main/WebHome
POST /xwiki/wiki/fcedelle/preview/Main/WebHome HTTP/1.1
Host: 138.102.118.214:10080
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:
1.9.1.2) Gecko/20090729 Firefox/3.5.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer:
http://138.102.118.214:10080/xwiki/wiki/fcedelle/edit/Main/WebHome
Cookie: JSESSIONID=917F928648F065D0866EAA4395F80769; language=fr;
visitid=WSOZRISCVFEROWA7Z5VKSCCPGAQAVPNX;
username=TCq1cR4XWsRGHYktowzcuA__; password=l5i68AjpERNGHYktowzcuA__;
rememberme=false; validation=95cc0d838ebf789168f5f0c25af01707
Content-Type: application/x-www-form-urlencoded
Content-Length: 2274
x-maximized=&title=&template=&xcontinue=%2Fxwiki%2Fwiki%2Ffcedelle
%2Fedit%2FMain%2FWebHome%3Feditor
%3Dwysiwyg&xredirect=&language=en&content=1+Welcome+to+your+wiki%0D%0A
%0D%0AWelcome+to+your+%5Bsecond+generation+wiki%3Ehttp%3A%2F
%2Fwww.xwiki.org%2F%5D%21%0D%0A%0D%0AIt+is+an+online%2C+shared
+workspace+that+will+allow+you+to+collaborate+effectively+with+others.
+You+can+use+it+for+many+purposes%3A%0D%0A%0D%0A%5C%5C%0D%0A%5C%5C%0D
%0A%0D%0A*+Project+Management%0D%0A*+Collaborative+Writing%0D%0A*
+Efficient+Document+Sharing%0D%0A*+Knowledge+Management%0D%0A%0D%0A%5C
%5C%0D%0A%0D%0A...+the+only+limit+is+your+imagination%21%0D%0A%0D%0A%5C
%5C%0D%0A%5C%5C%0D%0A%0D%0A1.1+How+to+start%0D%0A%0D%0AMaybe+you+are
+used+to+work+with+a+wiki...+and+maybe+not.+If+you+would+like+to+get
+used+to+the+basics+of+wiki+edition%2C+we+have+created+a+%5BSandbox
+space%3ESandbox.WebHome%5D+on+this+wiki.+This+space+is+meant+to+let
+you+learn+by+yourself+%3B-%29%0D%0A%0D%0A%5C%5C%0D%0A%0D%0AThere+are
+other+steps+that+you+may+want+to+go+through%2C+such+as%3A%0D%0A%0D%0A
%5C%5C%0D%0A%5C%5C%0D%0A%0D%0A*+Configuring+your+wiki+by+clicking+on
+the+%27Administration%27+link+at+the+top+right.%0D%0A*+Changing+the
+layout+and+menu+contents+by+using+the+%5BPanel+Wizard
%3EXWiki.XWikiPreferences%3Feditor%3Dglobaladmin%26amp%3Bsection
%3DPanels.PanelWizard%26amp%3BforceLeftPanels%3D1%26amp
%3BforceRightPanels%3D1%5D%0D%0A*+Modifying+this+page%2C+for+example
+stating+what+your+wiki+is+all+about+%28You+just+have+to+click+on+the
+Edit+button+at+the+top+left+of+this+page%29.%0D%0A*+Inviting+your
+friends%2C+family+or+co-workers+to+enjoy+collaboration+made+easy.%0D
%0A*+Writing+your+documentation%2C+sharing+ideas%2C+creating+different
+spaces+and+organizing+them+the+way+you+want.%0D%0A*+And+then+%5Bwrite
+some+blog+posts%3EBlog.WebHome%5D+in+order+to+summarize+your+work.%0D
%0A%0D%0AFor+more+information+you+can+visit+%5Bthe+documentation+on
+xwiki.org%3Ehttp%3A%2F%2Fwww.xwiki.org%2Fxwiki%2Fbin%2Fview%2FMain
%2FDocumentation%5D.%0D%0A%0D%0A%5C%5C%0D%0A%0D%0AThis+XWiki+is+yours
%2C+we+hope+you%27ll+enjoy+it+...%0D%0A%0D%0A%5C%5C%0D%0A%5C%5C%0D%0A
%0D%0ACongratulations%2C%0D%0A%0D%0AThe+XWiki+Team%0D%0A%0D%0A%5C%5C%0D
%0A&xeditaction=&comment=&action_save=Sauver+
%26+Visualiser&parent=&syntaxId=xwiki%2F1.0&tags=
HTTP/1.x 302 DÈplacÈ Temporairement
Server: Apache-Coyote/1.1
Location:
https://tcao.jouy.inra.fr/xwiki/bin/Main/ThisWikiDoesNotExist
Content-Type: text/html
Content-Length: 0
Date: Thu, 13 Aug 2009 14:37:22 GMT
----------------------------------------------------------
https://tcao.jouy.inra.fr/xwiki/bin/Main/ThisWikiDoesNotExist
GET /xwiki/bin/Main/ThisWikiDoesNotExist HTTP/1.1
Host: tcao.jouy.inra.fr
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:
1.9.1.2) Gecko/20090729 Firefox/3.5.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer:
http://138.102.118.214:10080/xwiki/wiki/fcedelle/edit/Main/WebHome
Cookie: JSESSIONID=8749CD9A383365E4F7E1608ABEA65A98; defaultDomain=1;
svpLogin=fcedelle; language=en;
JSESSIONID=98C45C835A1468E6C4F1383B0EFD45B5;
visitid=NZSUQYSDE4XIIHW0T2F3IL6X7UVGCQEH
HTTP/1.x 200 OK
Date: Thu, 13 Aug 2009 14:37:22 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Cache-Control: no-cache
Expires: Wed, 31 Dec 1969 23:59:59 GMT
Content-Type: text/html;charset=UTF-8
Content-Language: en
Content-Length: 17606
Via: 1.1 tcao.jouy.inra.fr
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
----------------------------------------------------------
http://138.102.118.214:10080/xwiki/wiki/fcedelle/cancel/Main/WebHome?ajax=1
GET /xwiki/wiki/fcedelle/cancel/Main/WebHome?ajax=1 HTTP/1.1
Host: 138.102.118.214:10080
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:
1.9.1.2) Gecko/20090729 Firefox/3.5.2
Accept: text/javascript, text/html, application/xml, text/xml, */*
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
X-Requested-With: XMLHttpRequest
X-Prototype-Version: 1.6.0.1
Referer:
http://138.102.118.214:10080/xwiki/wiki/fcedelle/edit/Main/WebHome
Cookie: JSESSIONID=917F928648F065D0866EAA4395F80769; language=fr;
visitid=WSOZRISCVFEROWA7Z5VKSCCPGAQAVPNX;
username=TCq1cR4XWsRGHYktowzcuA__; password=l5i68AjpERNGHYktowzcuA__;
rememberme=false; validation=95cc0d838ebf789168f5f0c25af01707
HTTP/1.x 204 Pas de Contenu
Server: Apache-Coyote/1.1
Date: Thu, 13 Aug 2009 14:37:22 GMT
----------------------------------------------------------
https://tcao.jouy.inra.fr/xwiki/bin/view/Main/WebRss?xpage=rdf
GET /xwiki/bin/view/Main/WebRss?xpage=rdf HTTP/1.1
Host: tcao.jouy.inra.fr
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:
1.9.1.2) Gecko/20090729 Firefox/3.5.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: JSESSIONID=8749CD9A383365E4F7E1608ABEA65A98; defaultDomain=1;
svpLogin=fcedelle; language=en;
JSESSIONID=98C45C835A1468E6C4F1383B0EFD45B5;
visitid=NZSUQYSDE4XIIHW0T2F3IL6X7UVGCQEH
HTTP/1.x 200 OK
Date: Thu, 13 Aug 2009 14:37:23 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Cache-Control: no-cache
Expires: Wed, 31 Dec 1969 23:59:59 GMT
Content-Type: application/rdf+xml;charset=UTF-8
Content-Language: en
Content-Length: 11079
Via: 1.1 tcao.jouy.inra.fr
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
----------------------------------------------------------
https://tcao.jouy.inra.fr/xwiki/bin/view/Main/ThisWikiDoesNotExist?xpage=xp…
POST /xwiki/bin/view/Main/ThisWikiDoesNotExist?
xpage=xpart&vm=commentsinline.vm HTTP/1.1
Host: tcao.jouy.inra.fr
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:
1.9.1.2) Gecko/20090729 Firefox/3.5.2
Accept: text/javascript, text/html, application/xml, text/xml, */*
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
X-Requested-With: XMLHttpRequest
X-Prototype-Version: 1.6.0.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer:
https://tcao.jouy.inra.fr/xwiki/bin/Main/ThisWikiDoesNotExist
Content-Length: 0
Cookie: JSESSIONID=8749CD9A383365E4F7E1608ABEA65A98; defaultDomain=1;
svpLogin=fcedelle; language=en;
JSESSIONID=98C45C835A1468E6C4F1383B0EFD45B5;
visitid=NZSUQYSDE4XIIHW0T2F3IL6X7UVGCQEH
Pragma: no-cache
Cache-Control: no-cache
HTTP/1.x 200 OK
Date: Thu, 13 Aug 2009 14:37:23 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Cache-Control: no-cache
Expires: Wed, 31 Dec 1969 23:59:59 GMT
Content-Type: text/html;charset=UTF-8
Content-Language: en
Content-Length: 1273
Via: 1.1 tcao.jouy.inra.fr
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
----------------------------------------------------------
https://tcao.jouy.inra.fr/xwiki/bin/view/Blog/GlobalBlogRss?xpage=plain
GET /xwiki/bin/view/Blog/GlobalBlogRss?xpage=plain HTTP/1.1
Host: tcao.jouy.inra.fr
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:
1.9.1.2) Gecko/20090729 Firefox/3.5.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: JSESSIONID=8749CD9A383365E4F7E1608ABEA65A98; defaultDomain=1;
svpLogin=fcedelle; language=en;
JSESSIONID=98C45C835A1468E6C4F1383B0EFD45B5;
visitid=NZSUQYSDE4XIIHW0T2F3IL6X7UVGCQEH
HTTP/1.x 200 OK
Date: Thu, 13 Aug 2009 14:37:23 GMT
Server: Apache-Coyote/1.1
Pragma: no-cache
Cache-Control: no-cache, public
Expires: Thu, 13 Aug 2009 15:37:23 GMT
Content-Type: application/rdf+xml;charset=UTF-8
Content-Language: en
Content-Length: 3866
Via: 1.1 tcao.jouy.inra.fr
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
----------------------------------------------------------
https://tcao.jouy.inra.fr/xwiki/bin/skin/skins/toucan/images/actionbar-bg-2…
GET /xwiki/bin/skin/skins/toucan/images/actionbar-bg-2.png HTTP/1.1
Host: tcao.jouy.inra.fr
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:
1.9.1.2) Gecko/20090729 Firefox/3.5.2
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer:
https://tcao.jouy.inra.fr/xwiki/bin/skin/skins/toucan/toucan.css
Cookie: JSESSIONID=8749CD9A383365E4F7E1608ABEA65A98; defaultDomain=1;
svpLogin=fcedelle; language=en;
JSESSIONID=98C45C835A1468E6C4F1383B0EFD45B5;
visitid=NZSUQYSDE4XIIHW0T2F3IL6X7UVGCQEH
HTTP/1.x 200 OK
Date: Thu, 13 Aug 2009 14:37:24 GMT
Server: Apache-Coyote/1.1
Last-Modified: Tue, 09 Jun 2009 15:52:36 GMT
Cache-Control: public
Expires: Sat, 12 Sep 2009 14:37:25 GMT
Content-Type: image/png;charset=ISO-8859-1
Content-Language: en
Content-Length: 352
Via: 1.1 tcao.jouy.inra.fr
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
----------------------------------------------------------
https://tcao.jouy.inra.fr/xwiki/bin/skin/skins/toucan/images/b75.png
GET /xwiki/bin/skin/skins/toucan/images/b75.png HTTP/1.1
Host: tcao.jouy.inra.fr
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:
1.9.1.2) Gecko/20090729 Firefox/3.5.2
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer:
https://tcao.jouy.inra.fr/xwiki/bin/skin/skins/toucan/toucan.css
Cookie: JSESSIONID=8749CD9A383365E4F7E1608ABEA65A98; defaultDomain=1;
svpLogin=fcedelle; language=en;
JSESSIONID=98C45C835A1468E6C4F1383B0EFD45B5;
visitid=NZSUQYSDE4XIIHW0T2F3IL6X7UVGCQEH
HTTP/1.x 200 OK
Date: Thu, 13 Aug 2009 14:37:24 GMT
Server: Apache-Coyote/1.1
Last-Modified: Tue, 09 Jun 2009 15:52:36 GMT
Cache-Control: public
Expires: Sat, 12 Sep 2009 14:37:25 GMT
Content-Type: image/png;charset=ISO-8859-1
Content-Language: en
Content-Length: 208
Via: 1.1 tcao.jouy.inra.fr
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
----------------------------------------------------------
- And if
I try to login directly on a virtual wiki, I can't logout...
You probably did not change the "domain" that is in xwiki.cfg. It
allows
to make sure your cookie is shared with all wikis.
I have xwiki.authentication.cookiedomains=inra.fr
Ludovic
Thanks
François
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users