Hi, I found what is the problem and how you can fix it:
in xwiki.cfg you have the property xwiki.authentication.logoutpage which is a regexp to match a logout request but this does not match URL based multiwiki because it not enabled by default. To fix the problem you can set xwiki.authentication.logoutpage=(/wiki/[^/]+/|/[^/]+/|/)logout/* Now I'm not sure if we can consider this has a bug or just indicate in xwiki.virtual.usepath comments that the xwiki.authentication.logoutpage has to be set accordingly if xwiki.virtual.usepath is enabled. On Thu, Jan 22, 2009 at 11:58 AM, Thomas Mortagne <[email protected]> wrote: > On Thu, Jan 22, 2009 at 11:58 AM, Thomas Mortagne > <[email protected]> wrote: >> On Wed, Jan 21, 2009 at 6:57 PM, christophe perinaud >> <[email protected]> wrote: >>> Hello, >>> >>> I use virtual path for wikis so i access with http://127.0.0.1/<wikiname> >> >> Ok I just tried and I can reproduce the same issue, i'm looking... > > In the meantime could you create an issue on http://jira.xwiki.org ? > >> >>> And cookiesdomain is set to blank >>> >>> Do i need to set it even for a virtual path ? If yes wich value ? >>> >>> When i try to log out from my virtual "itwiki" the URL set for the log out >>> is : >>> http://127.0.0.1/xwiki/wiki/itwiki/logout/XWiki/XWikiLogout?xredirect=http%3A%2F%2F127.0.0.1%2Fxwiki%2Fwiki%2Fitwiki%2Fview%2FMain%2F >>> >>> Thanks for your help >>> >>> Here is the xwiki.cfg >>> >>> xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0 >>> xwiki.encoding=ISO-8859-1 >>> xwiki.section.edit=1 >>> xwiki.backlinks=1 >>> xwiki.tags=1 >>> xwiki.store.migration=1 >>> xwiki.virtual=1 >>> xwiki.virtual.redirect= >>> http://127.0.0.1:9080/xwiki/bin/Main/ThisWikiDoesNotExist >>> xwiki.virtual.usepath=1 >>> xwiki.inactiveuser.allowedpages= >>> xwiki.authentication.validationKey=totototototototototototototototo >>> xwiki.authentication.encryptionKey=titititititititititititititititi >>> xwiki.authentication.cookiedomains= >>> xwiki.authentication.logoutpage=(/[^/]+/|/)logout/* >>> xwiki.authentication.unauthorized_code=200 >>> xwiki.editcomment=1 >>> xwiki.editcomment.mandatory=0 >>> xwiki.authentication.ldap.server=127.0.0.1 >>> xwiki.authentication.ldap.port=389 >>> xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP >>> xwiki.authentication.ldap.bind_pass={1} >>> xwiki.authentication.ldap.validate_password=0 >>> xwiki.authentication.ldap.base_DN= >>> xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail >>> xwiki.authentication.ldap.update_user=1 >>> xwiki.authentication.ldap.trylocal=1 >>> xwiki.defaultskin=toucan >>> xwiki.defaultbaseskin=albatross >>> xwiki.plugins=\ >>> com.xpn.xwiki.monitor.api.MonitorPlugin,\ >>> com.xpn.xwiki.plugin.calendar.CalendarPlugin,\ >>> com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\ >>> com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\ >>> com.xpn.xwiki.plugin.feed.FeedPlugin,\ >>> com.xpn.xwiki.plugin.ldap.LDAPPlugin,\ >>> com.xpn.xwiki.plugin.google.GooglePlugin,\ >>> com.xpn.xwiki.plugin.flickr.FlickrPlugin,\ >>> com.xpn.xwiki.plugin.mail.MailPlugin,\ >>> com.xpn.xwiki.plugin.packaging.PackagePlugin,\ >>> com.xpn.xwiki.plugin.query.QueryPlugin,\ >>> com.xpn.xwiki.plugin.svg.SVGPlugin,\ >>> com.xpn.xwiki.plugin.charts.ChartingPlugin,\ >>> com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\ >>> com.xpn.xwiki.plugin.image.ImagePlugin,\ >>> com.xpn.xwiki.plugin.captcha.CaptchaPlugin,\ >>> com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin,\ >>> >>> com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl,\ >>> com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\ >>> com.xpn.xwiki.plugin.autotag.AutoTagPlugin,\ >>> com.xpn.xwiki.plugin.lucene.LucenePlugin,\ >>> com.xpn.xwiki.plugin.diff.DiffPlugin,\ >>> com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\ >>> com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\ >>> com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\ >>> com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\ >>> com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \ >>> com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin, \ >>> >>> com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin, \ >>> com.xpn.xwiki.wysiwyg.server.plugin.WysiwygPlugin >>> xwiki.stats=1 >>> xwiki.stats.default=1 >>> xwiki.exo=0 >>> xwiki.plugin.laszlo.baseurl=/openlaszlo/xwiki/ >>> xwiki.plugin.laszlo.path=c:/Program Files/Apache Software Foundation/Tomcat >>> 5.0/webapps/openlaszlo/xwiki/ >>> xwiki.plugin.image.cache.capacity=30 >>> xwiki.plugin.captcha=0 >>> xwiki.plugins.lucene.indexdir=/tmp >>> xwiki.plugins.lucene.analyzer=org.apache.lucene.analysis.standard.StandardAnalyzer >>> xwiki.plugins.lucene.indexinterval=20 >>> xwiki.plugins.lucene.maxQueueSize=1000 >>> xwiki.work.dir=work >>> >>> >>> >>> 2009/1/20 Thomas Mortagne <[email protected]> >>> >>>> >>>> What domain are you using for main wiki and virtual wiki ? >>>> What value did you set in xwiki.cfg for xwiki.authentication.cookiedomains >>>> ? >>>> >>>> >>>> -- >>>> Thomas Mortagne >>>> _______________________________________________ >>>> users mailing list >>>> [email protected] >>>> http://lists.xwiki.org/mailman/listinfo/users >>>> >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/users >>> >> >> >> >> -- >> Thomas Mortagne >> > > > > -- > Thomas Mortagne > -- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
