Configure Apache web server as a reverse proxy
important The Apache web server is third-party software and is not directly supported by Follett School Solutions, Inc. For information beyond the scope of this article (setup, configuration, etc., of Apache), visit www.apache.org for documentation.
Configuring the Apache web server as a reverse proxy requires several modifications the HTTPD.CONF file . HTTPD.CONF is located in the CONF directory (the full path will vary with the version of Apache installed).
To configure the apache web server
- Download the appropriate version of mod_jk from http://tomcat.apache.org/connectors-doc/ and place this file in Apache's modules folder.
- Rename this file to
mod_jk.so .
- In Apache's conf directory, create a file named workers.properties, and add the following to it:
worker.
list=worker1
|worker.worker1.type=ajp13
worker.worker1.host=<Destiny's IP address here>
worker.worker1.port=8009
- Locate, near the beginning of the httpd.conf file, the LoadModule section and add the following line to the end of that section:
LoadModule jk_module modules/mod_jk.so
- Add the following lines to the end of the httpd.conf file:
<IfModule !mod_jk.c>
AddModule mod_jk.c
</IfModule>
<IfModule mod_jk.c>
JkWorkersFile "conf/workers.properties"
JkLogFile "logs/mod_jk.log"
JkLogLevel Info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat
JkMount /common/* worker1
JkMount /cataloging/* worker1
JkMount /cataloging/* worker1
JkMount /circulation/* worker1
JkMount /backoffice/* worker1
JkMount /imagestore/* worker1
JkMount /images/* worker1
JkMount /district/* worker1
JkMount /consortium/* worker1
JkMount /commandline/* worker1
JkMount /passthrough/* worker1
JkMount /exportfines/* worker1
JkMount /displaychart/* worker1
JkMount /vopac/* worker1
JkMount /digit alresource/* worker1
</IfModule>
- Stop and restart the Apache service.
- Test your configuration by pointing your browser to
http://[Apache server host]/common/welcome.jsp
|
|