1,安装组件: ISAPI Rewrite
2, 在ISAPI Rewrite安装目录下找到 httpd.ini文件打开并在后面添加:
# 商业贸易信息网
RewriteRule /cp_vlist_(.*)_(\d+)\.html /cp_vlist.asp\?id=$1&page=$2 [N,I]
RewriteRule /cp_view_(.*)\.html /cp_view.asp\?id=$1 [N,I]
RewriteRule /cp_list_(.*)\.html /cp_list.asp\?id=$1 [N,I]
RewriteRule /cp_vlist_(.*)\.html /cp_vlist.asp\?id=$1 [N,I]
RewriteRule /cp_(.*)\.html /cp.asp\?page=$1 [N,I]
RewriteRule /ypnew_list_(.*)_(\d+)\.html /ypnew_list.asp\?id=$1&page=$2 [N,I]
RewriteRule /new_list_(.*)_(\d+)\.html /new_list.asp\?id=$1&page=$2 [N,I]
RewriteRule /new_list_(.*)\.html /new_list.asp\?id=$1 [N,I]
RewriteRule /new_view_(.*)\.html /new_view.asp\?id=$1 [N,I]
RewriteRule /ypnew_view_(.*)\.html /ypnew_view.asp\?id=$1 [N,I]
RewriteRule /ypnew_list_(.*)\.html /ypnew_list.asp\?id=$1 [N,I]
RewriteRule /sca_list_(.*)_(\d+)_(\d+)\.html /sca_list.asp\?id=$1&scasort=$2&page=$3 [N,I]
RewriteRule /sca_(.*)_(\d+)_(\d+)\.html /sca.asp\?id=$1&scasort=$2&page=$3 [N,I]
RewriteRule /sca_tlist_(.*)_(\d+)_(\d+)\.html /sca_tlist.asp\?id=$1&scasort=$2&page=$3 [N,I]
RewriteRule /sca_list_(.*)_(\d+)\.html /sca_list.asp\?id=$1&scasort=$2 [N,I]
RewriteRule /sca_tlist_(.*)\.html /sca_tlist.asp\?scasort=$1 [N,I]
RewriteRule /sca_view_(.*)\.html /sca_view.asp\?id=$1 [N,I]
RewriteRule /sca_list_(.*)\.html /sca_list.asp\?id=$1 [N,I]
RewriteRule /sca_vlist_(.*)\.html /sca_vlist.asp\?id=$1 [N,I]
RewriteRule /zh_view_(.*)\.html /zh_view.asp\?id=$1 [N,I]
RewriteRule /zh_page_(.*)\.html /help.asp\?page=$1 [N,I]
RewriteRule /yp_vlist_(.*)_(\d+)\.html /yp_vlist.asp\?id=$1&page=$2 [N,I]
RewriteRule /yp_add_vlist_(.*)_(\d+)\.html /yp_add_vlist.asp\?id=$1&page=$2 [N,I]
RewriteRule /yp_add_list_(.*)_(\d+)\.html /yp_add_list.asp\?id=$1&page=$2 [N,I]
RewriteRule /yp_vlist_(.*)\.html /yp_vlist.asp\?id=$1 [N,I]
RewriteRule /yp_add_vlist_(.*)\.html /yp_add_vlist.asp\?id=$1 [N,I]
RewriteRule /yp_add_list_(.*)\.html /yp_add_list.asp\?id=$1 [N,I]
RewriteRule /help_(.*)\.html /help.asp\?id=$1 [N,I]
RewriteRule /help_sort_(.*)\.html /help.asp\?sort_id=$1 [N,I]
RewriteRule /order_(.*)\.html /order.asp\?id=$1 [N,I]
RewriteRule /co_(.*)\.html /co.asp\?id=$1 [N,I]
RewriteRule /reg_(.*)\.html /reg.asp\?action=$1 [N,I]
RewriteRule /about_(.*)\.html /about.asp\?action=$1 [N,I]
RewriteRule /mx_info_(.*)\.html /mx_info.asp\?id=$1 [N,I]
RewriteRule /job_zp_view_(.*)\.html /job_zp_view.asp\?id=$1 [N,I]
RewriteRule /job_qz_view_(.*)\.html /job_qz_view.asp\?id=$1 [N,I]
RewriteRule /job_zp_(.*)\.html /job_zp.asp\?page=$1 [N,I]
RewriteRule /job_qz_(.*)\.html /JOB_qz.asp\?page=$1 [N,I]
RewriteRule /job_zp\.html(.*) /job_zp.asp [N,I]
RewriteRule /job_qz\.html(.*) /job_qz.asp [N,I]
RewriteRule /job_qz_view\.html(.*) /job_qz_view.asp [N,I]
RewriteRule /job_zp_view\.html(.*) /job_qz_view.asp [N,I]
RewriteRule /index\.html(.*) /index.asp [N,I]
RewriteRule /vip\.html(.*) /vip.asp [N,I]
RewriteRule /search\.html(.*) /search.asp [N,I]
RewriteRule /jg\.html(.*) /jg.asp [N,I]
RewriteRule /zh\.html(.*) /zh.asp [N,I]
RewriteRule /news\.html(.*) /news.asp [N,I]
RewriteRule /user_login\.html(.*) /user_login.asp [N,I]
RewriteRule /sca\.html(.*) /sca.asp [N,I]
RewriteRule /LookupPass\.html(.*) /LookupPass.asp [N,I]
RewriteRule /cp\.html(.*) /cp.asp [N,I]
RewriteRule /yp\.html(.*) /yp.asp [N,I]
RewriteRule /job\.html(.*) /job.asp [N,I]
RewriteRule /help\.html(.*) /help.asp [N,I]
RewriteRule /about\.html(.*) /about.asp [N,I]
RewriteRule /book\.html(.*) /book.asp [N,I]
RewriteRule /free_ad\.html(.*) /free_ad.asp [N,I]
RewriteRule /rs_list\.html(.*) /rs_list.asp [N,I]
3,保存并关闭httpd.ini文件
4,重启IIS
5,设置成功
lingyueJYY
- 粉丝: 10
- 资源: 2
最新资源
- Replicate 的 Python 客户端.zip
- Raven 是 Sentry 的旧版 Python 客户端(getsentry.com),已被 sentry-python 取代.zip
- python打包创造-pycache-文件
- 基于Hadoop平台分析准大学生手机网购偏好与趋势
- 基于Python和ECharts的京东手机销售数据分析与可视化
- PythonLinearNonLinearControl 是一个用 Python 实现线性和非线性控制理论的库 .zip
- PythonJS 开发已转移到 Rusthon.zip
- Python,Cython,C 开发的 VIM 配置.zip
- Python 课程 #100DaysOfCode 的课程材料和讲义.zip
- Python 语言服务器协议的实现.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈