Hi Marius, I tried all the 3 approaches given in the document . Out of 3 first worked i.e redirecting to UserCreated space but other two did not. (Both takes me to WebHome page under Main space) Actually I want to use other two as it convenient to change them and revert back. here is the brief what i did about other two approaches defined in the document. Approach A:- Change the value of xwiki.defaultweb=Main and xwiki.defaultpage=WebHome to new values. Here are the new values i gave xwiki.defaultweb=MyUserCreatedSpace xwiki.defaultpage=WebHome Gave defaultpage as webhome as it is default page of MyUserCreatedSpace Approach B :- Document also tells below approach <servlet> <servlet-name>redirectHomeServlet</servlet-name> <servlet-class>com.xpn.xwiki.web.HomePageRedirectServlet</servlet-class> <init-param> <param-name>homePage</param-name> <param-value>bin/NewHomeSpace/NewHomePage</param-value> </init-param> </servlet> Here is the modified code snippet in web.xml i gave <servlet> <servlet-name>redirectHomeServlet</servlet-name> <servlet-class>com.xpn.xwiki.web.HomePageRedirectServlet</servlet-class> <init-param> <param-name>homePage</param-name> <param-value>bin/MyUserCreatedSpace/WebHome</param-value> </init-param> </servlet> i also tried giving values as <param-value>bin/MyUserCreatedSpace</param-value> <param-value>bin/view/MyUserCreatedSpace/WebHome</param-value> But again takes me to Webhome page under Main space. Please let me know if something else also needs to be configured. On Tue, Jan 10, 2012 at 1:01 PM, Marius Dumitru Florea < [email protected]> wrote:
Some search results:
http://www.xwiki.org/xwiki/bin/view/FAQ/Howtochangethehomepagedestinationwhe... http://www.mail-archive.com/[email protected]/msg06003.html http://lists.xwiki.org/pipermail/users/2008-June/008546.html
Hope this helps, Marius
On Mon, Jan 9, 2012 at 7:02 PM, mohit gupta <[email protected]> wrote:
Hi All,
As soon as l gets login , i enter to main space webhome page . I want to change this default main space to some user created space (Basically what i need is as soon as user logs in, he should enter to user created space instead of main space) Is it configurable? Thanks. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users