You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Jürgen Weber (JIRA)" <ji...@apache.org> on 2008/07/09 13:41:31 UTC

[jira] Commented: (JSPWIKI-181) Common prefix for static resources

    [ https://issues.apache.org/jira/browse/JSPWIKI-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611996#action_12611996 ] 

Jürgen Weber commented on JSPWIKI-181:
--------------------------------------

Andrew's page "Deployment Optimizations" is for a JSPWiki that is in a /jspwiki context, it does not work for a ROOT installation, i.e.

http://myhost/ThisIsAWikiPage

This is exactly my problem that for a ROOT installation there is no common prefix like /jspwiki 

> Common prefix for static resources
> ----------------------------------
>
>                 Key: JSPWIKI-181
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-181
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Core & storage
>    Affects Versions: 2.6.2
>            Reporter: Jürgen Weber
>            Priority: Minor
>
> If you want an URL schema like
> http://www.jspwiki.org/wiki/JSPWikiAsRootContextWithApache
> i.e. have JSPWiki as root context, and if you additionally want to have Apache as frontend (to avoid the application server having Unix root rights to listen on port 80), you have to configure in Apache's http.conf which URLs should go to mod_jk.
> Right now this is a rather long list. This could be made easier if the static content were below a common folder (e.g. wikistatic) and if the remaining .JSPs would be done by the wiki servlet.
> See also http://www.jspwiki.org/wiki/JSPWikiAsRootContextWithApache
> JkMount /wiki* MyJKAlias
> JkMount /templates* MyJKAlias
> JkMount /scripts* MyJKAlias
> JkMount /images* MyJKAlias
> JkMount /attach* MyJKAlias
> JkMount /Login.jsp* MyJKAlias
> JkMount /Logout.jsp* MyJKAlias
> JkMount /Search.jsp* MyJKAlias
> JkMount /Comment.jsp* MyJKAlias
> JkMount /Rename.jsp* MyJKAlias
> JkMount /Upload.jsp* MyJKAlias
> JkMount /UserPreferences.jsp*

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.