Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following tells Apache to proxy all calls to URLs starting with "shrine-api" to http://[your hostname]:8080/shrine-api/ over the AJP protocol. Therefore we need to set up Tomcat to listen for AJP traffic on port 8009 (see Tomcat Configuration below). , and also we need  In sp.conf it looks like:

Code Block
languagexml
themeRDark
ProxyIOBufferSize 65536
ProxyPass "/shrine-api/" "ajp://[your hostname]:8009/shrine-api/"

...

Code Block
languagexml
themeRDark
# no caching
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires 0

# CORS / Access-Control
## ADJUST_FOR_YOUR_SITE:
Header set Access-Control-Allow-Origin [your idP's hostname, e.g. my.idp.edu]
# Header set Access-Control-Allow-Methods "GET, POST, OPTIONS"

# isSsoMode cookie
Header set Set-Cookie isSsoMode=true

</LocationMatch>

Next Step:

SHRINE 4.0.0 Appendix A.5 - More Details: Tomcat Configuration