小夜的小偷怎么没有win主机的为静态规则啊
小夜的小偷怎么没有win主机的为静态规则啊,谁帮忙提供个啊我是菜鸟不会写规则啊想要个httpd.ini 谢谢 我的站 http://www.y8tb.com
原来.htaccess 的
RewriteEngine on
RewriteBase /
RewriteRule^catalog/(.*)_(.*).htmcatalog\.php\?id=$1&pg=$2
RewriteRule^catalog/(.*).htmcatalog\.php\?id=$1
RewriteRule^article/(.*).htmarticle\.php\?id=$1
RewriteRule^tag/(.*) s\.php\?word=$1
RewriteRule^tieba/list/(.*).htmcatalog_tieba\.php\?id=$1
RewriteRule^tieba/list/(.*)_(.*).htmcatalog_tieba\.php\?id=$1&pn=$2
RewriteRule^tieba/view/(.*).htmarticle_tieba\.php\?id=$1
[ 本帖最后由 wasmz 于 2010-11-25 21:40 编辑 ] win 我也测试可以跑了,虚拟主机,用根目录下的IIS REWRIE文件即可,保存成httpd.ini
主要需要开启curl
extension=php_curl.dll[*]
[*]# 3600 = 1 hour
[*]#CacheClockRate 3600
[*]RepeatLimit 32
[*]RewriteRule^(.*)/catalog/(.*)/(.*)$1/catalog\.php\?id=$2&pg=$3
[*]RewriteRule^(.*)/catalog/(.*).htm$$1/catalog\.php\?id=$2
[*]RewriteRule^(.*)/article/(.*).htm$$1/article\.php\?id=$2复制代码
[ 本帖最后由 Captain 于 2010-11-26 00:42 编辑 ] 没办法我用 的win独立服务器 小夜笑着说请用linux 根目录下有啊
# 3600 = 1 hour
#CacheClockRate 3600
RepeatLimit 32
RewriteRule^(.*)/catalog/(.*)/(.*)$1/catalog\.php\?id=$2&pg=$3
RewriteRule^(.*)/catalog/(.*).htm$$1/catalog\.php\?id=$2
RewriteRule^(.*)/article/(.*).htm$$1/article\.php\?id=$2
页:
[1]