|
楼主 |
发表于 2008-5-31 01:00:29
|
显示全部楼层
1、##############httpd.conf################
...
..
....
....以上为默认
# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
Include conf/extra/tomcat.conf
2、#########################tomcat.conf###########
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /opt/tomcat5/conf/workers.properties
JkMount /* ajp13w
JkUnMount /statics* ajp13w
################workers.properties##############
# The workers that jk should create and work with
#
workers.tomcat_home=/opt/tomcat5
workers.java_home=/opt/jdk1.5.0
worker.list=ajp13w
# Defining a worker named ajp13w and of type ajp13
# Note that the name and the type do not have to match.
#
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
worker.ajp13w.socket_timeout=30
worker.ajp13w.socket_keepalive=true
大概就是这样
server.key,server.crt 我已经生成了,ssh,在apache下工作是正常的。 |
|