67,513
社区成员
发帖
与我相关
我的任务
分享
<Host name="news.aorta-show.com" debug="0" appBase="/home/tomcat/webapps/ROOT/WEB-INF/jsp/news"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Alias>news.aorta-show.com</Alias>
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>
<Context path="" docBase="/home/tomcat/webapps/ROOT/WEB-INF/jsp/news" reloadable="true" caseSensitive="false" debug="0"></Context>
</Host>
<rule>
<from>/news/([0-9]+)/([0-9]+)/index.html</from>
<to>/news/index.do?method=newsList&type=$1&coteid=$2&pd=$1</to>
</rule>
<Host name="news.aorta-show.com" debug="0" appBase="/home/tomcat/webapps/ROOT/WEB-INF/jsp"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Alias>news.aorta-show.com </Alias>
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>
</Host>
如此测试一下看看?