it seems the Short URL instruction doesn't work for XWS. I tried all context/app path, action and servlet mapping and all of them do not seem to work on XWS.

regards,
mingfai

On Mon, Mar 17, 2008 at 7:18 PM, Mingfai <mingfai.ma@gmail.com> wrote:
thx JV, the shorturl link is exactly what I need.
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs

The first thing I try is the application name / context path. I made it the root application and changed the displayname accordingly. And I've cleared all cache and restarted already. Looks like the displayname parameter doesn't take effect. The following are the html code the site generates:
<link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS" href="/xwiki/bin/view/Main/WebRss?xpage=rdf" />
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="/xwiki/bin/view/Main/BlogRss?xpage=rdf" />
<script type="text/javascript" src="/bin/skins/workspaces/xws.js"></script>
<link href="/bin/bin/skin/skins/albatross/css/lightbox/lightbox.css" rel="stylesheet" type="text/css" />
<link href="/bin/bin/skin/skins/workspaces/style.css" rel="stylesheet" type="text/css" />


I run in JBoss 4.2.2.  Any idea?

Regards,
mingfai

On Mon, Mar 17, 2008 at 5:52 PM, Jean-Vincent Drean <jv@xwiki.com> wrote:
On Mon, Mar 17, 2008 at 9:16 AM, Jerome Velociter <jerome@xwiki.com> wrote:
>
>  >    - could anyone point me to where I may be able to customize the space
>
> >    name and url? basically, the use of "Space_" as prefix look quite odd
>  > to me
>  >    and i would like to remove it. And if it is possible i would want to
>  > make
>  >    the url shorter. Currently, it's something like: "
>  >    http://mydomain.com/xwiki/bin/view/Space_username/", i am able to
>  >    remove the context "xwiki", and i suppose it shouldn't be difficult to
>  > turn
>  >    Space_username to username. It's most desirable to turn bin/view to
>  > nothing
>  >    or make it a single "folder", e.g. remove "/bin" (i suppose the action
>  >    cannot be removed.)
>
>  See http://code.xwiki.org/xwiki/bin/view/Plugins/SpaceManagerPlugin, and
>  in particular the xwiki.spacemanager.prefix param of xwiki.cfg.
>

See also : http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs

JV.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users