Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 哪位达人帮我转下.htaccess 适用于[ISAPI_Rewrite]

[复制链接]
xunzhao520 发表于 2013-8-8 00:39:33 | 显示全部楼层 |阅读模式
  1. RewriteCond %{HTTP_HOST} (?!bbs|shop)^[a-z0-9\-]+\.websl\.cn$
  2. RewriteRule ^/?$ /%{HTTP_HOST}
  3. RewriteRule ^/([a-z0-9]+)$ /space\.php\?domain=$1 [L]
  4. RewriteRule ^/([a-z0-9\-]+)\.websl\.cn/?$  domain-$1.html [L,R=301]
  5. RewriteRule ^domain-([a-z0-9-]+).html$  space.php?domain=$1 [L]
  6. RewriteRule ^/i/space-(username|uid)-(.+)\.html$ /i/home.php?mod=space&$1=$2&%1 [L]
  7. RewriteRule ^/i/([a-z0-9]+)$ /i/home.php?mod=space&$1=$2&%1 [L]
  8. RewriteRule ^(space|network)\-(.+)\.html$ $1.php?rewrite=$2 [L]
  9. RewriteRule ^(space|network)\.html$ $1.php [L]
  10. RewriteRule ^([0-9]+)$ space.php?uid=$1 [L]
  11. RewriteRule ^ask-([0-9]+)\.html$  ask.php?do=ask&ac=view&id=$1 [L]
  12. RewriteRule ^ask\.html$  ask.php?do=ask [L]
  13. RewriteRule ^ask-do-([0-9]+)\.html$  ask.php?do=ask&type=$1 [L]
  14. RewriteRule ^ask-type-([0-9]+)-do-([0-9]+)\.html$ ask.php?do=ask&type=$1&lowid=$2 [L]
  15. RewriteRule ^ask-type-([0-9]+)-status-0-do-([0-9]+)\.html$ ask.php?do=ask&type=$1&status=0&lowid=$2 [L]
  16. RewriteRule ^ask-type-([0-9]+)-status-1-do-([0-9]+)\.html$ ask.php?do=ask&type=$1&status=1&lowid=$2 [L]
  17. RewriteRule ^ask-type-([0-9]+)-status-2-do-([0-9]+)\.html$ ask.php?do=ask&type=$1&status=2&lowid=$2 [L]
复制代码
上面这个是.htaccess  我需要在httpd.ini 中使用
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-14 17:13 , Processed in 0.021670 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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