incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Jaquith (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-181) Common prefix for static resources
Date Mon, 11 Feb 2008 19:26:07 GMT

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

Andrew Jaquith commented on JSPWIKI-181:
----------------------------------------

Jürgen --

See my jspwiki.org page "Deployment Optimizations" at http://www.jspwiki.org/wiki/DeploymentOptimizations.

It shows how you can build a very simple mod_jk ruleset, in combination with the Ant "staticzip"
target. I have not verified the instructions with 2.6, but they *should* work plus or minus
a few tweaks. 

> 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.


Mime
View raw message