[gatein-issues] [JBoss JIRA] (GTNPORTAL-3499) Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocol

Tuyen Nguyen The (JIRA) issues at jboss.org
Sun Jun 8 21:58:15 EDT 2014


     [ https://issues.jboss.org/browse/GTNPORTAL-3499?focusedWorklogId=12431307&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-12431307 ]

Tuyen Nguyen The logged work on GTNPORTAL-3499:
-----------------------------------------------

                Author: Tuyen Nguyen The
            Created on: 08/Jun/14 9:58 PM
            Start Date: 08/Jun/14 9:57 PM
    Worklog Time Spent: 2 hours 

Issue Time Tracking
-------------------

    Remaining Estimate: 0 minutes  (was: 6 hours)
            Time Spent: 2 hours
            Worklog Id:     (was: 12431307)


> Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocol
> -------------------------------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-3499
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-3499
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.5.9.Final
>            Reporter: Tran Trung Thanh
>            Assignee: Tuyen Nguyen The
>   Original Estimate: 6 hours
>          Time Spent: 2 hours
>  Remaining Estimate: 0 minutes
>
> - Configure eXo Platform with apache 2 via HTTP protocol by following
> http://docs.exoplatform.com/public/topic/PLF40/PLFAdminGuide.Deployment.SetupApacheFrontend.ConnectViaHTTP.html
> - Start Gatein server at localhost:8080
> - Access Gatein service by using address of apache for example example.localhost
> - Login as john
> - Call REST API: http://example.localhost/rest/private/managed-components/mop/usersites/john/pages/Tab_Default
> -> The result contains the original host
> {noformat}
> {"description":"List of child pages for page 'Tab_Default'","children":[],"operations":[{"operation-name":"read-resource","operation-description":"Lists available pages at a specified address.","link":{"rel":"self","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/pages/Tab_Default"}},{"operation-name":"read-config-as-xml","operation-description":"Reads pages as configuration xml at a specified address.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/pages/Tab_Default.xml","type":"application/xml"}},{"operation-name":"export-resource","operation-description":"Exports pages configuration xml as a zip file.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/pages/Tab_Default.zip","type":"application/zip","method":"get"}}]}
> {noformat}
> Note that: No problem when configuring apache front-end with ajp.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the gatein-issues mailing list