Presentation behind reverse proxy

79 views
Skip to first unread message

Massimiliano Ritossa

unread,
Jun 4, 2020, 8:42:15 AM6/4/20
to us...@opencast.org
Hi,
is there someone who can give me any suggestions to get opencast presenter running behind Apache 2.4 as reverse proxy?
I need to be available under a location let’s say /oc/….

My config is:

ProxyRequests Off
ProxyPass /oc/ https://OPENCAST.PRESENTATION/
ProxyPassReverse /oc/ https://OPENCAST_PRESENTATION/

<Location /oc/>
ProxyHTMLEnable On
ProxyHTMLExtended On
ProxyPassReverse /
ProxyHTMLURLMap https://OPENCAST_PRESENTATION/ /oc/
ProxyHTMLURLMap / /oc/
</Location>

It stucks on getting /search/episode.json?=id….. and /info/me.js. I suppose it’s something in a javascript code that should be processed by "ProxyHTMLExtended On”.
But it doesn’t work.
Any example config for Nginx would be fine too :)
Thanks,

MAx

Lars Kiesow

unread,
Jun 4, 2020, 9:21:48 AM6/4/20
to us...@opencast.org
Hi Massimiliano

> I need to be available under a location let’s say /oc/….

Running Opencast under a sub-path is not supported and you will run
into all kinds of problems if you do.

–Lars

Maximiliano Lira Del Canto

unread,
Jun 4, 2020, 10:00:24 AM6/4/20
to Opencast Users
Hi

I suggest you a more easy way to avoid that. Create a new virtual interface with another IP, then assign that to apache.

Gerhold B. Kooper

unread,
May 10, 2021, 5:57:51 AM5/10/21
to Opencast Users, max.r...@gmail.com
Hi,

Did you manage to resolve the problem you had?

"It stucks on getting /search/episode.json?=id….. and /info/me.js. I suppose it’s something in a javascript code that should be processed by "ProxyHTMLExtended On”.
But it doesn’t work.
"

Reply all
Reply to author
Forward
0 new messages