[ 
http://opencast.jira.com/browse/MH-9382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32849#comment-32849
 ] 

Tobias Wunden commented on MH-9382:
-----------------------------------

The issue stems from the following implementation detail in 
StaticResource.doGet(). There, a redirect is sent if the request hits a 
directory such as /admin. The redirect is sent as an absolute path and in these 
cases it is up to the servlet container to translate this absolute path into an 
absolute url, using the request's original scheme.

So far, so good. Unfortunately, when using Apache in front of Matterhorn/Jetty 
and using ModProxy to forward https requests to Matterhorn on http, then Jetty 
will see the requests as using http instead of https and therefore sending http 
redirects, resulting in the admin UI switching back to http.

The following solutions seem possible:

* Convincing mod_proxy to send the original scheme
* Installing a servlet filter that will wrap the requests to return a different 
scheme
* Modifying Jetty's default connector implementation according to 
http://docs.codehaus.org/display/JETTY/Configuring+mod_proxy
* Running Matterhorn on SSL
                
> Requests to https://.../admin get redirected to http
> ----------------------------------------------------
>
>                 Key: MH-9382
>                 URL: http://opencast.jira.com/browse/MH-9382
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Architecture & Services
>    Affects Versions: 1.4
>            Reporter: Tobias Wunden
>            Priority: Critical
>             Fix For: 1.4
>
>


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

        
_______________________________________________
Matterhorn mailing list
Matterhorn@opencastproject.org
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
matterhorn-unsubscr...@opencastproject.org
_______________________________________________

Reply via email to