【发布时间】:2015-10-09 17:40:40
【问题描述】:
我进行了一些搜索,但无法将所有内容放在一起。这是我需要的:
我想找人上网:
www.mysite.com/thisPlace
并让它重定向到
www.mysite.com/template.cfm?pm=ms&loc_id=4
为此,我需要以某种方式捕获他们没有在其 http 请求中请求现有文件并运行一个 .cfm 页面,该页面在数据库中查询 locationName = 'thisPlace' 的记录,然后将它们重定向到页面喜欢 template.cfm?pm=ms&loc_id=4,其中 4 是匹配 'thisPlace' 的行的记录 id
【问题讨论】:
-
为什么用
PHP标记? -
不知道,我提交的时候没看到。抱歉,我删除了它。
标签: coldfusion url-rewriting iis-7.5 coldfusion-11