Hi Paul,
Paul Harris wrote:
Hi all,
I want to change the primary space name from "Main" to "Public" to
make it
clear to wiki users who is going to have access to the info in that space.
I've tried changing every mention of "Main" to "Public" in the
WEB-INF
directory, restarting jetty and refreshing the webbrowser, and STILL it
redirects to "Main".
I've adjusted web.xml, portlet.xml, struts-config.xml, xwiki.cfg
is this hard-coded into XWiki?
I'm not able to answer your question but why not create a new space
Public and redirect calls to the default space to there?
Simply put this in your Main.WebHome...
{{velocity}}
$response.sendRedirect($xwiki.getURL('Public.WebHome'))
{{/velocity}}
Of course this not solved your doubt, but could be used as a workaround.
I've tried to use xwiki.defaultweb to set a different space when the URL
doesn't include one and it doesn't work for me either (XE
2.7-SNAPSHOT.33223)
thanks
Paul
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
HTH,
Ricardo
--
Ricardo RodrÃguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems