我用apache整合了tomcat6和php5
我的网站可以完美运行jsp和php,但是一个问题来了,我有两个网站,一个是jsp,一个是php的.我的jsp我做的html伪静态,所以我把全部的*.html交给tomcat管理 所以php网站上的html静态页面也被交给tomcat发生了错误。
我想问的是可以A网站配置一个uriworkermapA.properties,B网站再配置一个uriworkermapB.properties这样如何配置呢?
下面是我配置apache的代码:
workers.properties文件:## workers.properties## list the workers by nameworker.list=DLOG4J, status# localhost server 1# ------------------------worker.s1.port=8080worker.s1.host=localhostworker.s1.type=ajp13uriworkermap.properties文件:
/*=DLOG4J/jkstatus=status!/*.gif=DLOG4J!/*.jpg=DLOG4J!/*.png=DLOG4J!/*.css=DLOG4J!/*.js=DLOG4J!/*.htm=DLOG4J!/*.php=DLOG4J配置详细过程我写了文章:http://blog.sina.com.cn/s/blog_50a5ed2d0100ifzg.html