Re: Re: Install wiki in root folder

Alex Samad <[email protected]> Wed, 31 Oct 2007 07:18:56 +1100
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
--===============1431720258==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="SWTRyWv/ijrBap1m"
Content-Disposition: inline


--SWTRyWv/ijrBap1m
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 30, 2007 at 07:48:26PM +0100, Harry Metske wrote:
> I have done some tests with it, and come to the same conclusion, I have t=
he
> following scenario:
> JSPWiki installed in ./webapps/ROOT
> jspwiki.urlConstructor =3D ShortViewURLConstructor
> jspwiki.baseURL=3Dhttp://scharnhorst.computerhok.nl:8080/
>=20
> The following links are generated, while varying
> jspwiki.shortURLConstructor.prefix :
>=20
>    1. leave as comment (default):
>    http://scharnhorst.computerhok.nl:8080/wiki/HarryPages
>    2. =3D/                             http://harrypages/
>    3. =3D/wiki                         http://wikiharrypages/
>    4. =3D/wiki/                        http://wiki/HarryPages
>    5. =3Dwiki/
>    http://scharnhorst.computerhok.nl:8080/wiki/HarryPages
>=20
> Between every test I stop tomcat, clear the work directory, and start tom=
cat
> again.
>=20
> I can't think of any value for the prefix to make it work as you would li=
ke
> :-(
why not put apache in front of it and let it do url rewriting, that should =
give=20
you want you want ?
>=20
> Harry
>=20
> 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 =3D 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 valu=
es?
> > >> I am using:
> > >> jspwiki.urlConstructor =3D 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
> >
>=20
>=20
>=20
> --=20
> 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=20
> stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.=20
> For development discussion, please join jspwiki-dev.
> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> http://www.jspwiki.org/JSPWikiMailingList
>=20

--SWTRyWv/ijrBap1m--

--===============1431720258==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline