URL path customization
To publish the application at a location other than /casa, do the following:
Log into the Gluu Server chroot (e.g.
# gluu-serverd login)Edit tag
<Set name="contextPath">in file/opt/gluu/jetty/casa/webapps/casa.xmlwith the new path you want to use. For example, if you chose/creds, you would do the following:<Set name="contextPath">/creds</Set>Edit tag
<Set name="contextPath">in file/opt/gluu/jetty/casa/webapps/casa_web_resources.xmlappropriately with the new path you want to use.Adjust Apache's .conf file:
Locate the
https_gluu.conffile. The exact location will vary depending on your distribution. In Ubuntu, for example, you can find it at/etc/apache2/sites-availableFind the section starting with
<Location /casa>and replace the 2 occurrences ofcasawith the path of your choice. Do not use trailing slashesAdd the following directive:
Redirect /casa /<new-context-path>before all<Location>and<Proxy>sections
Adjust custom script settings:
Log in to oxTrust and go to
Configuration>Manage custom scriptsOn the "Person Authentication" tab, collapse the script labeled
casaand adjust the "supergluu_app_id" property accordingly. Skip this step if your Casa installation has already been used for enrolling or authenticating via Super Gluu.At the bottom, press the "Update" button
Wait for around 1 minute (so the server picks the script changes), then restart Casa and Apache services. Use this page as a guide
The application should be accessible now at the new URL.
