我目前使用ISAPI重写

我倒是在我的ColdFusion应用程序移动到Apache有趣,并会因此喜欢使用mod_rewrite。这可能吗?或者我需要重写所有的重写?

有帮助吗?

解决方案

现代重写

的RewriteCond%{REQUEST_URI} ^ /!(flex2gateway | jrunscripts | CFIDE | cfformgateway | railo上下文|文件|图像| Javascript角|杂|样式表|的robots.txt | sitemap.xml的| rewrite.cfm) ($ | /. $)[NC] 重写规则^(。*)$ ./rewrite.cfm/$1 [L]

ISAPI

重写规则(^ /(flex2gateway | jrunscripts | CFIDE | cfformgateway | railo上下文|文件|图像| Javascript角|杂|样式表|的robots.txt | sitemap.xml的| rewrite.cfm)($ |。/ $))$ 1 [L,I] 重写规则^ /(。)$ /rewrite.cfm/$1 [L]

(距离的ColdFusion以车轮上的重写规则)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top