You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Maxim Solodovnik (JIRA)" <ji...@apache.org> on 2016/11/18 04:36:58 UTC

[jira] [Comment Edited] (OPENMEETINGS-1507) Remove "application.base.url" configuration key

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

Maxim Solodovnik edited comment on OPENMEETINGS-1507 at 11/18/16 4:36 AM:
--------------------------------------------------------------------------

Just have checked:

"referer" (set to the *full URL of the request*) header is set for 'non-proxied' OM
"host"(set to the *hostname*) set under nginx reverse proxy

I'm not sure what should be the best option to sutisfy your requirement and drop base URL from screen sharing
Most probably I can get HOST from user browser ...

Would it be OK with you?


was (Author: solomax):
Just have checked:

"referer" (set to the *full URL of the request*) header is set for 'non-proxied' OM  (it is set to the *full URL of the request*)
"host"(set to the *hostname*) set under nginx reverse proxy

I'm not sure what should be the best option to sutisfy your requirement and drop base URL from screen sharing
Most probably I can get HOST from user browser ...

Would it be OK with you?

> Remove "application.base.url" configuration key
> -----------------------------------------------
>
>                 Key: OPENMEETINGS-1507
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1507
>             Project: Openmeetings
>          Issue Type: Improvement
>          Components: Screen-sharing
>    Affects Versions: 3.1.3
>         Environment: Centos 6.8
>            Reporter: Maurizio Barbagin
>            Assignee: Maxim Solodovnik
>            Priority: Minor
>
> When OpenMeetings server is connected to both a local network (http://server.local:5080/openmeetings) and Internet (http://server.domain.com:5080/openmeetings), java screen sharing application use always "application.base.url" configuration key as server address.
> So it's impossible to use screen sharing from both access types.
> I suggest using HTTP_REFERER dinamically for retrieving current application url, especially when it's used behind a reverse proxy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)