[channel.socket:localhost:8009]
port=8009
host=localhost
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
[uri:/*.jsp]
worker=ajp13:localhost:8009
[uri:/examples/*jsp]
worker=ajp13:localhost:8009
[root@localhost conf]#cd /usr/local/tomcat/conf/
[root@localhost conf]#vim server.xml
找到其中的<Host>中的<Contest>项,修改相关参数如下,保存退出;
<Contextpath="" docBase="/opt/apache/htdocs" debug="0"reloadable="true" crossContext="true"/>
[root@localhost conf]# /usr/local/tomcat/bin/startup.sh 【启动tomcat】
[root@localhost conf]# /usr/local/apache/bin/apachectl restart【重启apache】
[root@localhost conf]# /etc/init.d/MySQLd start 【启动mysql】
整合完毕