Re: Re: Install wiki in root folder
Lindsay Patten <[email protected]> Tue, 30 Oct 2007 13:39:03 -0300
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[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