incubator-jspwiki-dev mailing list archives

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

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

Janne Jalkanen commented on JSPWIKI-181:
----------------------------------------

You can just JkMount /* and be done with it.  You do not gain any particular advantage in
serving the static content through Apache anyway.  You can use an alias for /scripts and move
them elsewhere and force Apache to serve those if you really want to.

I'd be inclined to claim this as a WontFix, since it would cause breakage of all the URLs
for all the users.

> 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