diff --git a/Dockerfile b/Dockerfile index 716d44c9..a37e2a60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -76,7 +76,7 @@ RUN cd /opt/grouper/grouper.apiBinary/; \ RUN cd /opt/tomcat/; \ chmod +r bin/log4j-*.jar; \ - rm -fr webapps/docs/ webapps/examples/ webapps/host-manager/ webapps/manager/ logs/* temp/* work/* conf/logging.properties + rm -fr webapps/docs/ webapps/examples/ webapps/host-manager/ webapps/manager/ webapps/ROOT/ logs/* temp/* work/* conf/logging.properties RUN cd /opt/tomee/; \ chmod +r bin/log4j-*.jar; \ diff --git a/container_files/httpd/grouper-www.conf b/container_files/httpd/grouper-www.conf index 368f7f6c..562e47c6 100644 --- a/container_files/httpd/grouper-www.conf +++ b/container_files/httpd/grouper-www.conf @@ -7,6 +7,10 @@ ProxyPass /grouper ajp://localhost:8009/grouper timeout=2400 ProxyPass /grouper-ws ajp://localhost:8009/grouper-ws timeout=2400 ProxyPass /grouper-ws-scim ajp://localhost:8009/grouper-ws-scim timeout=2400 +RewriteEngine on +RewriteCond %{REQUEST_URI} "^/$" +RewriteRule . %{REQUEST_SCHEME}://%{HTTP_HOST}/grouper/ [R=301,L] + AuthType shibboleth ShibRequestSetting requireSession 1