en:release:3.13_release_notes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:release:3.13_release_notes [2025/11/21 01:17] – [Important Changes and Bug Fixes for 3.12] kjdon | en:release:3.13_release_notes [2026/02/16 22:41] (current) – [Proxying Tomcat with Apache] kjdon | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| ===== Installation Instructions===== | ===== Installation Instructions===== | ||
| + | |||
| + | ==== Proxying Tomcat with Apache==== | ||
| + | |||
| + | A common scenario is to have tomcat running over http on localhost, and use Apache HTTP server to make it visible to the outside world. | ||
| + | |||
| + | For example, you have tomcat running greenstone on port 8383, with context / | ||
| + | |||
| + | Your Apache webserver is running as https:// | ||
| + | |||
| + | < | ||
| + | < | ||
| + | < | ||
| + | ServerAdmin [email protected] | ||
| + | ServerName mysite.org.nz | ||
| + | |||
| + | LogFormat "%a %l %u %t \" | ||
| + | |||
| + | TraceEnable off | ||
| + | |||
| + | RewriteEngine On | ||
| + | RewriteRule ^/archive$ /archive/ [R=301,L] | ||
| + | |||
| + | ProxyRequests Off | ||
| + | ProxyPreserveHost On | ||
| + | ProxyTimeout 300 | ||
| + | |||
| + | ProxyPass /archive/ http:// | ||
| + | ProxyPassReverse /archive/ http:// | ||
| + | |||
| + | < | ||
| + | ProxyPassReverseCookiePath / | ||
| + | </ | ||
| + | |||
| + | RequestHeader set X-Forwarded-Proto | ||
| + | RequestHeader set X-Forwarded-Host | ||
| + | RequestHeader set X-Forwarded-Port | ||
| + | RequestHeader set X-Forwarded-SSL | ||
| + | RequestHeader set X-Forwarded-Prefix "/ | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | Your library will then be available at https:// | ||
| ===== Running Greenstone ===== | ===== Running Greenstone ===== | ||
en/release/3.13_release_notes.1763687845.txt.gz · Last modified: 2025/11/21 01:17 by kjdon
