miaotaizi 发表于 2013-9-29 11:16:03

CI IIS 服务器下的无奈,求助!

我的项目在本地是用apach服务器的,可是老板放到了IIS 服务器上
淘宝上请人写了一下URL规则,暂时能用了,但是问题来了
我的在线编辑器不能上传图片,都是上传结束后 出现 Disallowed Key Characters错误,用的kindeditor
Debug 1
Reload 5000
#Browse LOT

RewriteRule ^/.*\.php(.*) /index.php?$1
RewriteRule ^/user(.*) /index.php?/user$1
RewriteRule ^/news(.*) /index.php?/news$1
RewriteRule ^/login(.*) /index.php?/login$1
RewriteRule ^/admin(.*) /index.php?/admin$1
RewriteRule ^[^/public/img/(.*)] /index.php?/$1
RewriteRule ^[^/public/(.*)] /index.php?/$1
RewriteRule ^[^/belove/(.*)] /index.php?/$1

这个是重写的规则,我看不懂啊
是不是因为重写了之后
http://www.xxxx.com/public/kindeditor/php/upload_json.php
这种url就失效了?
困惑中,求大大们帮忙看看了,谢谢!


miaotaizi 发表于 2013-9-29 11:23:11

我直接在浏览器里面访问
http://www.xxxx.com/public/kindeditor/php/demo.php
这个文件就没用了,但是在本地却可以,是不是这个原因造成的?:'(
页: [1]
查看完整版本: CI IIS 服务器下的无奈,求助!