thanks
paul Le 21 déc. 07 à 14:49, Karim-Pierre Maalej a écrit :
This is very valuable information, il should be posted on the xwiki.org :-)If you deploy XWiki as the ROOT app, you must also change inWEB-INF/web.xml the <display-name> parameter to the empty string, like:<display-name></display-name> To get rid of /view/, in xwiki.cfg write xwiki.showviewaction=0 To get rid of /bin/, for the moment you have to change web.xml in acontainer-dependent way, so that you map the container's default servlet to existing directories, like skins, yui, tinymce and wikieditor, copy the /bin mapping to also be activated for / (copy, don't change, so that/bin works, too), then add in xwiki.cfg xwiki.defaultactionpath=This will allow you to access documents with server.com/Space/ Document,server.com/Space/ (pointing to Space.WebHome), server.com/Document (pointing to Main.Document), and server.com/ will show Main.WebHome without needing a redirect. As a bonus, these changes are backwards compatible, meaning that any currently working URL will also work with these changes performed, so you won't have any broken bookmarks. All these changes aren't completely tested, so there could be some things that aren't working, because of code that parses the URL andcounts the number of slashes, or expects an exact URL pattern containing /bin/ or stuff like that. But my unconfirmed guess is that it should allwork fine. If you want to have different action mappings, likeserver.com/Space/Doc?action=edit, then there's more work, like writing anew URLFactory, changing struts-config.xml, and creating another RequestProcessor. Sergiu_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
