incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Weber (JIRA) <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-181) Common prefix for static resources
Date Sun, 10 Feb 2008 22:01:17 GMT

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

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

> You can just JkMount /* and be done with it.

Not if Apache should serve other things, too. Ours is frontend for JSPWiki, Bugzilla, Webalizer
and lots of static docs.

So using Apache has at least two advantages:

* it's a common entry point

* it's serving port 80



> 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