[
https://issues.apache.org/jira/browse/CMIS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13555300#comment-13555300
]
Gavin Cornwell commented on CMIS-621:
-------------------------------------
I was meaning for the scenarios where you know what the path needs to be in the
re-written URL.
For example you may have your app deployed in Tomcat as /my-app but you want
the proxy to use the root, so a request for http://proxy/cmisatom gets routed
to http://backend:8080/my-app/cmisatom. When the URL gets written in
AtomPubUtils you need a way to eliminate the context path.
> Context and servlet path can not be overridden when using a reverse proxy
> -------------------------------------------------------------------------
>
> Key: CMIS-621
> URL: https://issues.apache.org/jira/browse/CMIS-621
> Project: Chemistry
> Issue Type: Improvement
> Components: opencmis-server
> Affects Versions: OpenCMIS 0.8.0
> Reporter: Gavin Cornwell
>
> CMIS-500 introduced a filter to allow the AtomPub binding to be used with a
> reverse proxy but the context and servlet paths can not be configured.
> If the app server is using a path of /app/cmisatom the proxy also has to.
> Ideally it would be possible to rewrite the path as well as the host etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira