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