Versions Compared

Key

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

...

Code Block
# points to directory with tomcat webapps
DocumentRoot "/home/apache-tomcat-5.5.25/webapps"

# the servername of the server
ServerName isda-ws2.mit.edu:443

# the admins of this server
ServerAdmin dracus@mit.edu,dongq@mit.edu,dtanner@mit.edu

# error log file
ErrorLog /home/apache/logs/error_log

# access log file
TransferLog /home/apache/logs/access_log

# public server certificate
SSLCertificateFile /usr/local/ssl/certs/isda-ws2.pem

# private server certificate
SSLCertificateKeyFile /usr/local/ssl/private/https-key.pem

\#certificate path
SSLCACertificatePath /usr/local/ssl/certs

# certificate authority key
SSLCACertificateFile /usr/local/ssl/certs/mitCA.pem

SSLVerifyClient require
SSLVerifyDepth  10

...

Code Block
JKMount / ajp13
JKMount /\* ajp13

JkMount /manager ajp13
JkMount /manager/\* ajp13

JkMount /uaws ajp13
JkMount /uaws/\* ajp13

JkMount /webdav ajp13
JkMount /webdav/\* ajp13

JkMount /geows ajp13
JkMount /geows/\* ajp13

JkMount /servlets-examples ajp13
JkMount /servlets-examples/\* ajp13
JkMount /tomcat-docs ajp13
JkMount /tomcat-docs/\* ajp13
JkMount /host-manager ajp13
JkMount /host-manager/\* ajp13

JkMount /jsp-examples ajp13
JkMount /jsp-examples/\* ajp13

JkMount /balancer ajp13
JkMount /balancer/\* ajp13

JkMount /mitidws ajp13
JkMount /mitidws/\* ajp13

9. to pass environment variables from apache to tomcat, add the following to
   the end of httpd.conf (note, the name for those environment variables might
   change between different apache versions. Apache comes with a cgi script in
   cgi-bin/printenv. Run this script in your https enabled browser to verify
   that these variables still holds).

...

code
Code Block
/etc/init.d/web stop