这是apache伪静态规则
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/admin/
RewriteRule !\.(js|ico|gif|jpg|jpeg|bmp|png|swf|css|html|htm|php|rar|xml|ani|cur|mp3|mp4|flv|tpl|inc)$ /admin/index.php [L,NC]RewriteCond %{REQUEST_URI} !^/admin/
RewriteRule !\.(js|ico|gif|jpg|jpeg|bmp|png|swf|css|html|htm|php|rar|xml|ani|cur|mp3|mp4|flv|tpl|inc)$ index.php [L,NC]
求大神转为IIS的,谢谢了没分了apache伪静态url重写iis
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/admin/
RewriteRule !\.(js|ico|gif|jpg|jpeg|bmp|png|swf|css|html|htm|php|rar|xml|ani|cur|mp3|mp4|flv|tpl|inc)$ /admin/index.php [L,NC]RewriteCond %{REQUEST_URI} !^/admin/
RewriteRule !\.(js|ico|gif|jpg|jpeg|bmp|png|swf|css|html|htm|php|rar|xml|ani|cur|mp3|mp4|flv|tpl|inc)$ index.php [L,NC]
求大神转为IIS的,谢谢了没分了apache伪静态url重写iis
解决方案 »
- php字符串中带\t时怎样才能正常输出?
- radio的问题
- 请问php如何用图片功能的按钮提交表单呀,请指点!!
- php权限问题
- php update 语句不能修改数据库,也不报错?
- 我设计的服务器支持CGI了,放分。
- 请问在程序运行时出现session设置错误如何处理?在线等候
- 关于数据查询返回结果的问题!!!高分相送!!
- 可以在一个PHP程序里同时连接一个数据库的很多表吗?
- php 如果知道一个汉字的ASCII编码,如何转换为对应的汉字
- 为什么用exec执行一个命令时,在脚本内执行不成功,放到服务器命令行就可以了,我在/etc/sudoers也做了配置
- PHP文件引用的一个疑问,请帮忙看一下,谢谢
http://hi.baidu.com/lijunzaizi/item/ba8121280a37ea1609750862
可以直接导入.htaccess文件