chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Dewit (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-500) AtomPubUtils: Take the X-Forwarded-Host and X-Forwarded-Proto request headers into account when calculating the baseUrl
Date Wed, 08 Feb 2012 21:17:01 GMT

    [ https://issues.apache.org/jira/browse/CMIS-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203997#comment-13203997
] 

Gert Dewit commented on CMIS-500:
---------------------------------

It looks like it would work, I'll test it out tomorrow and get back to you.

The tomcat approach doesn't work in our environment BTW, because our CMIS repository should
be accessible from different networks (internet, intranet, extranet) which all hide behind
different reverse proxies in different DNS domains.
                
> AtomPubUtils: Take the X-Forwarded-Host and X-Forwarded-Proto request headers into account
when calculating the baseUrl
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-500
>                 URL: https://issues.apache.org/jira/browse/CMIS-500
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.7.0
>            Reporter: Gert Dewit
>            Assignee: Florian Müller
>              Labels: patch
>         Attachments: XForwardedHeaders.patch
>
>
> When the OpenCMIS server is deployed behind a reverse proxy, the service document doesn't
return the correct URLs.
> If it takes the X-Forwarded-Host and X-Forwarded-Proto request headers into account when
calculating the baseUrl the URLs are correct.
> A patch against revision 1241367 is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message