I have done some tests with it, and come to the same conclusion, I have the
following scenario:
JSPWiki installed in ./webapps/ROOT
jspwiki.urlConstructor = ShortViewURLConstructor
jspwiki.baseURL=http://scharnhorst.computerhok.nl:8080/

The following links are generated, while varying
jspwiki.shortURLConstructor.prefix :

   1. leave as comment (default):
   http://scharnhorst.computerhok.nl:8080/wiki/HarryPages
   2. =/                             http://harrypages/
   3. =/wiki                         http://wikiharrypages/
   4. =/wiki/                        http://wiki/HarryPages
   5. =wiki/
   http://scharnhorst.computerhok.nl:8080/wiki/HarryPages

Between every test I stop tomcat, clear the work directory, and start tomcat
again.

I can't think of any value for the prefix to make it work as you would like
:-(

Harry

2007/10/30, Lindsay Patten <[EMAIL PROTECTED]>:
>
> I installed a new version of tomcat 6.0.14 and installed JSPWiki from
> JSPWiki-2.5.139-beta-bin.zip
>
> I have no problems getting it to run as with URLs like:
> http://wiki.automatedgenealogy.com:8080/wiki/Main
> by setting jspwiki.urlConstructor = ShortViewURLConstructor
>
> However, I haven't had any luck changing
> jspwiki.shortURLConstructor.prefix
> The comments in the properties file say the default is /wiki but it
> seems to me that it is actually wiki/ or at least if I set it to /wiki
> it doesn't work while setting it to wiki/ produces a working system.
> What I would really like is to set it to the empty string to get an URL
> like
> http://wiki.automatedgenealogy.com:8080/Main
> but I can't get it to work with any value other than wiki/
> For example I tried to use docs/ to get
> http://wiki.automatedgenealogy.com:8080/docs/Main
> But that didn't work.
>
> On my production server I have another webapp as the ROOT webapp, so I
> would like an URL like:
> http://automatedgenealogy.com/docs/Main
> but the best I can manage so far is:
> http://automatedgenealogy.com/docs/wiki/Main
>
> So, in short, is it possible to not have a the wiki/ segment?
>
> Thanks,
>      Lindsay
>
> Janne Jalkanen wrote:
> >> Is there something that needs to be run other than just reloading the
> >> webapp in tomcat manager?
> >
> > Just extract JSPWiki.war in our ROOT folder of Tomcat, and it should
> > work.
> >
> >> Are there specific properties that need to be set to particular values?
> >> I am using:
> >> jspwiki.urlConstructor = ShortViewURLConstructor
> >
> > This should be fine.
> >
> > Could you also detail which version of JSPWiki you are running? There
> > were known problems with ShortViewURLConstructor prior to 2.4.102, so
> > maybe you should upgrade?
> >
> > /Janne
>
> _______________________________________________
> This is the Jspwiki-users mailing list, in which we discuss the
> stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
> For development discussion, please join jspwiki-dev.
> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> http://www.jspwiki.org/JSPWikiMailingList
>



-- 
met vriendelijke groet,
Harry Metske
Telnr. +31-548-512395
Mobile +31-6-51898081
_______________________________________________
This is the Jspwiki-users mailing list, in which we discuss the 
stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. 
For development discussion, please join jspwiki-dev.
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
http://www.jspwiki.org/JSPWikiMailingList

Reply via email to