You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Juergen Weber <we...@gmail.com> on 2008/01/21 21:28:07 UTC

JSPWiki as ROOT context, again

Hi,

I'd like to run JSPWiki

o behind Apache (port 80, have not Java run as root, Apache serves
static content)

o ShortURLConstructor to have URLs like http://mywiki.com/wiki/Main

With shortURLConstructor.prefix = wiki/ and have Apache sent wiki/* to
Tomcat it almost works.

<Host ....
    <Context path="" docBase="/JSPWiki"/>

Unfortunately Apache has to send also images/*, scripts/* and
templates/* to Tomcat for JSPWiki to find images, css and so on.

It would be less configuration, if all static content would be below
JSPWikiStatic/*

I was thinking about using mod_rewrite, but then the browser url would
differ from links on wiki pages, would it?

Cheers,
Juergen