In case anyone else runs into the issue below with 1.2, I figured out what was 
going on after reading Tobias' post from several days ago in the "Matterhorn 
Behind a Load Balancer" thread. The comment:

"A default organization gets created that uses the 
org.opencastproject.server.url property for matching, so as long as that url 
doesn't match the requests (due to load balancers / proxying), things won't 
work."

was the tipoff. The default value includes the port so I was retaining that in 
all of my various configuration attempts. It seems that was throwing off the 
match. Using "https://myhostname"; works just fine, with Nginx rewriting all 
requests to 443 and handling SSL, as I had hoped.

Michael

On Jan 5, 2012, at 1:40 PM, Michael Steigman wrote:

> Hello list,
> 
> I'm working on setting up a pilot installation and have a couple of questions 
> after getting the platform up and running based on the "install from source" 
> directions. I have a working default installation right now. The first thing 
> I'm trying to do is set up a reverse proxy so I can reach the host via 
> http/https with Nginx handling SSL and Matterhorn running on localhost as an 
> unprivileged user. This configuration is referenced in config.properties 
> under felix (albeit using Apache). I'd imagine this would be a pretty common 
> scenario. However, I haven't been able to come up with a setting for 
> server.url that works. I end up with a blank page in the browser and messages 
> like this on the console:
> 
> Capabilities push to 
> http://myhostname:80/capture-admin/agents/demo_capture_agent/configuration 
> failed with code 301.
> 
> and
> 
> No organization is mapped to handle http://myhostname/
> 
> Can someone give some guidance here? Also, is there reason I wouldn't be able 
> to rewrite all requests to https?
> 
> Thanks!
> 
> Michael
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to