全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1319|回复: 4

小夜的小偷怎么没有win主机的为静态规则啊

[复制链接]
发表于 2010-11-25 21:36:15 | 显示全部楼层 |阅读模式
小夜的小偷怎么没有win主机的为静态规则啊,谁帮忙提供个啊
我是菜鸟不会写规则啊想要个httpd.ini 谢谢 我的站 http://www.y8tb.com
原来.htaccess 的
RewriteEngine on
RewriteBase /
RewriteRule  ^catalog/(.*)_(.*).htm  catalog\.php\?id=$1&pg=$2
RewriteRule  ^catalog/(.*).htm  catalog\.php\?id=$1
RewriteRule  ^article/(.*).htm  article\.php\?id=$1
RewriteRule  ^tag/(.*) s\.php\?word=$1
RewriteRule  ^tieba/list/(.*).htm  catalog_tieba\.php\?id=$1
RewriteRule  ^tieba/list/(.*)_(.*).htm  catalog_tieba\.php\?id=$1&pn=$2
RewriteRule  ^tieba/view/(.*).htm  article_tieba\.php\?id=$1

[ 本帖最后由 wasmz 于 2010-11-25 21:40 编辑 ]
发表于 2010-11-25 21:39:45 | 显示全部楼层
win 我也测试可以跑了,虚拟主机,用根目录下的IIS REWRIE文件即可,保存成httpd.ini

主要需要开启curl

extension=php_curl.dll
  1. [ISAPI_Rewrite]
  2. # 3600 = 1 hour
  3. #CacheClockRate 3600
  4. RepeatLimit 32
  5. RewriteRule  ^(.*)/catalog/(.*)/(.*)  $1/catalog\.php\?id=$2&pg=$3
  6. RewriteRule  ^(.*)/catalog/(.*).htm$  $1/catalog\.php\?id=$2
  7. RewriteRule  ^(.*)/article/(.*).htm$  $1/article\.php\?id=$2
复制代码

[ 本帖最后由 Captain 于 2010-11-26 00:42 编辑 ]
 楼主| 发表于 2010-11-25 21:41:11 | 显示全部楼层
没办法我用 的win独立服务器
发表于 2010-11-25 21:49:32 | 显示全部楼层
小夜笑着说请用linux
发表于 2010-11-25 21:50:47 | 显示全部楼层
根目录下有啊

[ISAPI_Rewrite]
# 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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-5-5 06:45 , Processed in 0.069604 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表