find below samples of my apache's config files that I use for serving
content from two tomcat containers (5.0.28 and 5.5.9) via apache's SSL.
my "workers.properties file":
# Define workers
# Set properties for gridsphere (ajp13)
# Set properties for sakai (ajp13)
LoadModule jk_module modules/mod_jk.so
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T %U"
part of my "mod_ssl.vhost.conf":
# serve static contant directly
# the mounts (must list all webapps that should be accessible)
JkMount /gridsphere/* gridsphere_tc
JkMount /gridsphere gridsphere_tc
JkMount /gridportlets/* gridsphere_tc
JkMount /dipasportal/* gridsphere_tc
JkMount /sakailaunch/* gridsphere_tc
JkMount /embet/* gridsphere_tc
JkMount /portal/* sakai
JkMount /library/* sakai
JkMount /sakai-login/* sakai
JkMount /access/* sakai
JkMount /portal sakai
Jill B Gemmill wrote:
I am using tomcat 5.0.X and apache 2.0 with gridsphere 2.1.4
I have apache and mod_jk installed successfully, and "almost"
have the configuration right for gridsphere (by this I mean that
http://myhostname/gridsphere/gridsphere are sent to tomcat w/o
specifying port 8080. However, I get some warnings from Apache "mixing
* ports and non-* ports with NameVirtualHost not allowed".
I was following the instructions on the gridsphere site at the
bottom of the GridSphere User's Guide, but the version of tomcat I am
using allows a single workers.properties file and I have seen other
documentation that the <IfModule mod_jk.c> is for tomcat 4.0 only and
should not be used with 5.0, so I am not using that line.
If anyone has an example for tomcat 5.0 to share I would
certainly appreciate it.
Jill Gemmill, PhD
Assistant Director, IT Academic Computing
University of Alabama at Birmingham
Email: [email protected]
Videoconference: GDS 0011549110
Gridsphere-users mailing list