Josh,

Your suggestions worked perfectly in my test environment.

Thanks,
Brian

Brian Bolt
Office of Information Technology
Boise State University
208.426.6835
[email protected]



On Thu, Jan 6, 2011 at 3:53 PM, Josh Holtzman <[email protected]>wrote:

> Hi Brian,
> It sounds like there are (at least) two different things going on here.
> First, it sounds like you want the default page for the server to be
> /engage/ui/index.html.  You can accomplish this either via a code
> modification or a redirect with apache.  If you want to do it in code,
> change the welcome.file line in
> $MH_SRC/modules/matterhorn-runtime-info-ui/src/main/resources/OSGI-INF/ui.xml
> to read
>
> <property name="welcome.file" value="engage/ui/index.html" />
>
> Next, it sounds like users don't have to authenticate to view the / page
> (the one that will be redirecting to /engage/ui/index.html).  To accomplish
> that, you can add ROLE_ANONYMOUS to the / URI in security.xml.  Something
> like this should work:
>
>     <sec:intercept-url pattern='/' access='ROLE_ANONYMOUS' />
>
> The rest of the URIs you want to make available are probably already
> configured for anonymous access.  The defaults include:
>
>     <sec:intercept-url pattern='/engage/ui/**' access='ROLE_ANONYMOUS,
> ROLE_USER' />
>     <sec:intercept-url pattern='/search/rest/**' method="GET"
> access='ROLE_ANONYMOUS, ROLE_USER' />
>     <sec:intercept-url pattern='/usertracking/rest/**' method="GET"
> access='ROLE_ANONYMOUS, ROLE_USER' />
>     <sec:intercept-url pattern='/static/**' method="GET"
> access='ROLE_ANONYMOUS, ROLE_USER' />
>
> These are the "behind the scenes" URIs that are called from within the
> engage app.
>
> Hope that helps,
> Josh
>
> On Thu, Jan 6, 2011 at 10:47 PM, Brian Bolt <[email protected]>wrote:
>
>> On the engage server, I'm interested in having
>> http://matterhorn.boisestate.edu redirect to the
>> http://matterhorn.boisestate.edu/engage/ui/index.html.
>>
>> I found the login.html file
>> in 
>> /opt/matterhorn/1.0.1/modules/matterhorn-runtime-info-ui/src/main/resources/ui/
>> and was able to make changes to the file that were reflected after
>> reinstalling matterhorn.  I then figured, that if I added an index.html to
>> the ui folder that it might be displayed as the default page instead of
>> login.html.  After reinstalling Matterhorn, login.html is the default page,
>> and attempting to use index.html directs the browser to login.html.  After
>> logging in, I can then get to index.html, so I know the file was included in
>> the install.
>>
>> Question: How do I accomplish showing redirecting
>> http://matterhorn.boisestate.edu to the /engage/ui/index.html page?
>>
>> Thanks
>> Brian
>>
>>
>> Brian Bolt
>> Office of Information Technology
>> Boise State University
>> 208.426.6835
>> [email protected]
>>
>>
>> _______________________________________________
>> 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
>
>
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to