Skip to content

Commit

Permalink
tomcat rewrite for oidc
Browse files Browse the repository at this point in the history
  • Loading branch information
sporth committed Oct 28, 2022
1 parent 10b4b8c commit bd9a397
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testbed/integration/shibboleth-idp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ ADD ${SHBCFG} /opt/shibboleth-idp/conf
#ADD ${SHBMSGS} /opt/shibboleth-idp/messages
ADD ${SHBMD} /opt/shibboleth-idp/metadata
ADD ${OIDCREG} /opt/shibboleth-idp/static
ADD ${TOMREWRITE} /opt/shibboleth-idp/edit-webapp/WEB-INF/rewrite.config
ADD ${TOMREWRITE} /usr/local/tomcat/conf/Catalina/localhost/rewrite.config

EXPOSE 8080
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

<!-- Default set of monitored resources. If one of these changes, the -->
<!-- web application will be reloaded. -->
<Valve className="org.apache.catalina.valves.rewrite.RewriteValve" />
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">

<Valve className="org.apache.catalina.valves.rewrite.RewriteValve" />
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t &quot;%r&quot; %s %b" />
Expand Down

0 comments on commit bd9a397

Please sign in to comment.