微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

urlrewrite.xml配置

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN"
        "http://tuckey.org/res/dtds/urlrewrite4.0.dtd">
<urlrewrite>
	<!--   写法参照
    <rule>
	    <from>^/info([0-9]+).html$</from>
	    <to>/ptinfo/ptinfoaction!selectById.do?ptid=$1</to>
	</rule>
 	<rule>
	    <from>^/merchants.html$</from>
	    <to>/merchants/merchants.jsp</to>
	</rule>
	--> 
	
	<!-- 首页 -->
	<rule>
		<from>^/$</from>
		<to>/index.jsp</to>
	</rule>
	<rule>
		<from>^/index.html$</from>
		<to>/index.jsp</to>
	</rule>
	
	<rule>
		<from>^/customerService.html$</from>
		<to>/customerService.jsp</to>
	</rule>
	
	<rule>
		<from>^/newsp_list.html$</from>
		<to>/backstage/the_news_today/platform_activity_list.jsp</to>
	</rule>
	<rule>
		<from>^/newsp_detail/(.*).html$</from>
		<to>/backstage/the_news_today/platform_activity_detail.jsp?ID=$1</to>
	</rule>
	
	<rule>
		<from>^/newsm_list.html$</from>
		<to>/backstage/the_news_today/movies_hot_list.jsp</to>
	</rule>
	<rule>
		<from>^/newsm_detail/(.*).html$</from>
		<to>/backstage/the_news_today/movies_hot_detail.jsp?ID=$1</to>
	</rule>
	
	
	<!-- 注册 -->
	<rule>
		<from>^/register.html$</from>
		<to>/user/register/register.jsp</to>
	</rule>
	<rule>
		<from>^/mailActive.html$</from>
		<to>/user/register/mailActive.jsp</to>
	</rule>
	<rule>
		<from>^/registerSuccess.html$</from>
		<to>/user/register/registerSuccess.jsp</to>
	</rule>
	
	<!-- 登入 -->
	<rule>
		<from>^/login.html$</from>
		<to>/user/login/login.jsp</to>
	</rule>
	<rule>
		<from>^/logout.html$</from>
		<to>/user/login/logout.jsp</to>
	</rule>
	<!-- 个人资料 -->
	<rule>
		<from>^/personal.html$</from>
		<to>/usercenter/personal.jsp</to>
	</rule>
	
	<!-- 安全中心 -->
	<rule>
		<from>^/security.html$</from>
		<to>/usercenter/security/security.jsp</to>
	</rule>	
	<rule>
		<from>^/shouj-bd-1.html$</from>
		<to>/usercenter/security/phone_b1.jsp</to>
	</rule>
	<rule>
		<from>^/bind_success_p.html$</from>
		<to>/usercenter/security/bind_success_p.jsp</to>
	</rule>
	<rule>
	 	<from>^/bd-sj-shengfz.html$</from>
	 	<to>/usercenter/security/bd-sj-shengfz.jsp</to>
	</rule>
	<rule>
	 	<from>^/bd-yx-shengfz.html$</from>
	 	<to>/usercenter/security/bd-yx-shengfz.jsp</to>
	</rule>
	<rule>
		<from>^/email-bd.html$</from>
		<to>/usercenter/security/email-bd2.jsp</to>
	</rule>
	<rule>
		<from>^/email-bd2.html$</from>
		<to>/usercenter/security/email-bd3.jsp</to>
	</rule>
	<rule>
		<from>^/email-bd3.html$</from>
		<to>/usercenter/security/email-bd4.jsp</to>
	</rule>
	
	<rule>
		<from>^/bind_success_m.html$</from>
		<to>/usercenter/security/bind_success_m.jsp</to>
	</rule>
	<rule>
		<from>^/psw_reset.html$</from>
		<to>/usercenter/security/psw_edit.jsp</to>
	</rule>
	<rule>
		<from>/fphone.html</from>
		<to>/user/findpsw/fphone.jsp</to>
	</rule>
	<rule>
		<from>/femail.html</from>
		<to>/user/findpsw/femail.jsp</to>
	</rule>
	<rule>
		<from>^/password_success.html$</from>
		<to>/usercenter/security/pswreset_success.jsp</to>
	</rule>
	<rule>
		<from>^/resetword_success.html$</from>
		<to>/user/findpsw/pswreset_success.jsp</to>
	</rule>
	
	<rule>
		<from>^/forgot_set/(.*)/(.*)/(.*).html$</from>
		<to>/user/findpsw/pswreset.jsp?method=$1&code=$2&fogottype=$3</to>
	</rule>
	
	
	<!-- 个人中心 -->
	<rule>
		<from>^/choice_auto.html$</from>
		<to>/usercenter/professional_auto/choice_auto.jsp</to>
	</rule>
	<rule>
		<from>^/userauto.html$</from>
		<to>/usercenter/professional_auto/userauto/userauto.jsp</to>
	</rule>
	<rule>
		<from>^/enterprise_auto.html$</from>
		<to>/usercenter/professional_auto/enterprise_auto/enterprise_auto.jsp</to>
	</rule>
	
	<rule>
		<from>^/project_create.html$</from>
		<to>/usercenter/my_projects/project_create.jsp</to>
	</rule>
	<rule>
		<from>^/project_list.html$</from>
		<to>/usercenter/my_projects/project_list.jsp</to>
	</rule>
	<rule>
		<from>^/project_management/(.*).html$</from>
		<to>/usercenter/my_projects/project_management.jsp?proID=$1</to>
	</rule>
	
	<rule>
		<from>^/attention.html$</from>
		<to>/usercenter/attention/attention.jsp</to>
	</rule>
	
	<!-- 制片人俱乐部 -->
	<rule>
		<from>^/club_projectlist.html$</from>
		<to>/filmmakersclub/club_projectlist.jsp</to>
	</rule>
	<rule>
		<from>^/club_projectdetails/(.*).html$</from>
		<to>/filmmakersclub/club_projectdetails.jsp?proID=$1</to>
	</rule>
	
	 <!-- 众筹 -->
	 <rule>
	 	<from>^/zcindex.html$</from>
	 	<to>/zhongchou/zcindex.jsp</to>
	 </rule>
	 
	  <rule>
	 	<from>^/zc_user_auto.html$</from>
	 	<to>/zhongchou/auto/zc_user_auto.jsp</to>
	 </rule>
	 <rule>
		<from>^/zc_enterprise_auto.html$</from>
		<to>/zhongchou/auto/zcmemauto.jsp</to>
	</rule>
	<rule>
		<from>^/choice_invest.html$</from>
		<to>/zhongchou/auto/choice_auto.jsp</to>
	</rule>
	<rule>
		<from>^/zcauto_(.*).html$</from>
		<to>/zhongchou/auto/zcauto.jsp?user=$1</to>
	</rule>
	 <rule>
		<from>^/zc_rongzi.html$</from>
		<to>/zhongchou/rongzi.jsp</to>
	</rule>
	<rule>
		<from>^/invest_item/(.*).html$</from>
		<to>/zhongchou/invest_item.jsp?proid=$1</to>
	</rule>
	<rule>
		<from>^/investors_list.html$</from>
		<to>/zhongchou/investors_list.jsp</to>
	</rule>
	<rule>
		<from>^/organization_list.html$</from>
		<to>/zhongchou/organization_list.jsp</to>
	</rule>
	<rule>
		<from>^/zcsucess.html$</from>
		<to>/zhongchou/zc_success.jsp</to>
	</rule>
	<rule>
		<from>^/tzjg_info/(.*).html$</from>
		<to>/zhongchou/tzjg_info.jsp?user=$1</to>
	</rule>
	<rule>
		<from>^/tzr_info/(.*).html$</from>
		<to>/zhongchou/tzr_info.jsp?user=$1</to>
	</rule>
	 
	<!-- 专业诚信数据库 -->
	 <rule>
	 	<from>^/sincerity/search_p.html$</from>
	 	<to>/sincerity/search.jsp</to>
	 </rule>
	  <rule>
	 	<from>^/sincerity/search_e.html$</from>
	 	<to>/sincerity/search_enterprise.jsp</to>
	 </rule>
	 
	 <rule>
	 	<from>^/sincerity/search_p/(.*).html$</from>
	 	<to>/sincerity/search.jsp?jobID=$1</to>
	 </rule>
	  <rule>
	 	<from>^/sincerity/search_e/(.*).html$</from>
	 	<to>/sincerity/search_enterprise.jsp?jobID2=$1</to>
	 </rule>
	 
 	<rule>
		<from>^/person_info/(.*).html$</from>
		<to>/sincerity/person_information.jsp?user=$1</to>
	</rule>
	<rule>
		<from>^/company_info/(.*).html$</from>
		<to>/sincerity/company_information.jsp?user=$1</to>
	</rule>
	
	<!-- 、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、后台、、、、、、、、、、、、、、、、、、、、、、、、、、、、、 -->
	<!-- 宣传栏 -->
	<rule>
		<from>^/billboards.html$</from>
		<to>/backstage/billboards/billboards.jsp</to>
	</rule>
	
	<!-- 今日热讯 -->
	<rule>
		<from>^/video_trailer.html$</from>
		<to>/backstage/the_news_today/video_trailer.jsp</to>
	</rule>
	<rule>
		<from>^/platform_activity.html$</from>
		<to>/backstage/the_news_today/platform_activity.jsp</to>
	</rule>
	<rule>
		<from>^/movies_hot.html$</from>
		<to>/backstage/the_news_today/movies_hot.jsp</to>
	</rule>
	
	<!-- 众筹项目 -->
	<rule>
		<from>^/fiance_projects.html$</from>
		<to>/backstage/fiance_projects/fiance_projects.jsp</to>
	</rule>
	
	<!-- 热门项目 -->
	<rule>
		<from>^/hot_projects.html$</from>
		<to>/backstage/hot_projects/hot_projects.jsp</to>
	</rule>
	<!-- 明星资源 -->
	<rule>
		<from>^/mguserauto.html$</from>
		<to>/backstage/mgauto/mguserauto.jsp</to>
	</rule>
	
	<!-- 企业资源 -->
	<rule>
		<from>^/mgenterprise.html$</from>
		<to>/backstage/mgenterprise/mgenterprise.jsp</to>
	</rule>
	<!-- 众筹 -->
	<rule>
		<from>^/htinvest/billboards.html$</from>
		<to>/backstage/invest/invest_billboards.jsp</to>
	</rule>
	<rule>
		<from>^/htinvest/investpro.html$</from>
		<to>/backstage/invest/invest_pro.jsp</to>
	</rule>
	<rule>
		<from>^/htinvest/investprosuccess.html$</from>
		<to>/backstage/invest/invest_pro_success.jsp</to>
	</rule>
	<rule>
		<from>^/htinvest/investuser.html$</from>
		<to>/backstage/invest/investuser.jsp</to>
	</rule>
	<rule>
		<from>^/htinvest/investent.html$</from>
		<to>/backstage/invest/investent.jsp</to>
	</rule>
	<!-- 专业诚信数据库 -->
	<rule>
		<from>^/htcredit/billboards.html$</from>
		<to>/backstage/credit/credit_billboard.jsp</to>
	</rule>
	<!-- 项目 -->
	<rule>
		<from>^/htclub/billboards.html$</from>
		<to>/backstage/club/club_billboards.jsp</to>
	</rule>
	
	<rule>
		<from>^/mgproject_list.html$</from>
		<to>/backstage/project/project_list.jsp</to>
	</rule>
	
	<rule>
		<from>^/mgproject_info/(.*).html$</from>
		<to>/backstage/project/project_info.jsp?proID=$1</to>
	</rule>
	
</urlrewrite>

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。