设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย french

搜索
热搜: 活动 交友 discuz

有木有人帮我转个伪静态文件 [复制链接]
查看:15 | 回复:1

228

主题

993

回帖

2792

积分

金牌会员

积分
2792
发表于 2013-4-10 17:14:34 | 显示全部楼层 |阅读模式
httpd转成.htaccess 多谢[ol]
  • [ISAPI_Rewrite]
  • ;IIS 7.5
  • #RewriteRule ^/((?!static|data).*)$ /index\.php\?s=$1 [I]
  • ;IIS 6.0
  • RewriteRule ^/admin$                                                         /index\.php\?g=admin [I]
  • RewriteRule ^/go-(\d+).html$                                         /index\.php\?m=index&a=go&id=$1 [I]
  • RewriteRule ^/detail-(\d+).html$                                 /index\.php\?m=post&a=index&id=$1 [I]
  • RewriteRule ^/baoliao.html$                                         /index\.php\?m=post&a=submit [I]
  • RewriteRule ^/cate-(\d+).html$                                         /index\.php\?m=post_cate&a=index&id=$1 [I]
  • RewriteRule ^/article-(\d+).html$                                 /index\.php\?m=article&a=index&id=$1 [I]
  • RewriteRule ^/mall.html$                                                 /index\.php\?m=mall&a=index [I]
  • RewriteRule ^/mall-(\d+).html$                                         /index\.php\?m=mall&a=info&id=$1 [I]
  • RewriteRule ^/login.html$                                                 /index\.php\?m=user&a=login [I]
  • RewriteRule ^/register.html$                                         /index\.php\?m=user&a=register [I]
  • RewriteRule ^/logout.html$                                             /index\.php\?m=user&a=logout [I]
  • RewriteRule ^/faq.html$                                                 /index\.php\?m=help&a=faq&id=19 [I]
  • RewriteRule ^/fanli.html$                                                 /index\.php\?m=help&a=faq&id=20 [I]
  • RewriteRule ^/flink.html$                                                 /index\.php\?m=help&a=flink [I]
  • RewriteRule ^/about.html$                                                 /index\.php\?m=help&a=page&id=2 [I]
  • RewriteRule ^/contact.html$                                         /index\.php\?m=help&a=page&id=3 [I]
  • RewriteRule ^/partner.html$                                         /index\.php\?m=help&a=page&id=4 [I]
  • RewriteRule ^/weixin.html$                                                 /index\.php\?m=help&a=page&id=12 [I]
  • RewriteRule ^/friends.html$                                         /index\.php\?m=help&a=page&id=23 [I]
  • RewriteRule ^/qq.html$                                                         /index\.php\?m=oauth&a=index&mod=qq [I]
  • RewriteRule ^/sina.html$                                                 /index\.php\?m=oauth&a=index&mod=sina [I]
  • RewriteRule ^/taobao.html$                                                 /index\.php\?m=oauth&a=index&mod=taobao [I]
  • RewriteRule ^/index-p-(\d+).html$                                 /index\.php\?m=index&a=index&p=$1 [I]
  • RewriteRule ^/cate-(\d+)-(\d+).html$                         /index\.php\?m=post_cate&a=index&id=$1&p=$2 [I]
  • RewriteRule ^/user.html$                                                 /index\.php\?m=user&a=index [I]
  • RewriteRule ^/profile.html$                                         /index\.php\?m=user&a=profile [I]
  • RewriteRule ^/bind.html$                                                 /index\.php\?m=user&a=bind [I]
  • RewriteRule ^/password.html$                                         /index\.php\?m=user&a=password [I]
  • RewriteRule ^/comments.html$                                         /index\.php\?m=user&a=comments [I]
  • RewriteRule ^/comments-(\d+).html$                                 /index\.php\?m=user&a=comments&p=$1 [I]
  • RewriteRule ^/favs.html$                                                 /index\.php\?m=user&a=favs [I]
  • RewriteRule ^/favs-(\d+).html$                                         /index\.php\?m=user&a=favs&p=$1 [I]
  • RewriteRule ^/baoliao-list.html$                                 /index\.php\?m=user&a=baoliao [I]
  • RewriteRule ^/baoliao-(\d+).html$                                 /index\.php\?m=user&a=baoliao&type=$1 [I]
  • RewriteRule ^/baoliao-(\d+)-(\d+).html$                 /index\.php\?m=user&a=baoliao&type=$1&p=$2 [I]
  • RewriteRule ^/score_log.html$                                         /index\.php\?m=user&a=score_log [I]
  • RewriteRule ^/score_log-(\d+).html$                         /index\.php\?m=user&a=score_log&p=$1 [I]
  • RewriteRule ^/message.html$                                         /index\.php\?m=user&a=message [I]
  • RewriteRule ^/message-(\d+).html$                                 /index\.php\?m=user&a=message&p=$1 [I]
  • RewriteRule ^/(\w+).html$                                                 /index\.php\?m=post&a=index&post_key=$1 [I]
  • [/ol]复制代码
  • 37

    主题

    1329

    回帖

    2815

    积分

    金牌会员

    积分
    2815
    发表于 2013-4-10 17:18:11 | 显示全部楼层
    这个真不会
    您需要登录后才可以回帖 登录 | 立即注册

    论坛客服/商务合作/投诉举报:2171544 (QQ)
    落伍者创建于2001/03/14,本站内容均为会员发表,并不代表落伍立场!
    拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论!
    落伍官方微信:2030286 邮箱:(djfsys@gmail.com|tech@im286.com)
    © 2001-2014

    浙公网安备 33060302000191号

    浙ICP备11034705号 BBS专项电子公告通信管[2010]226号

      落伍法律顾问: ITlaw-庄毅雄

    Archiver|手机版|Discuz! X

    GMT+8, 2026-7-26 00:09 , Processed in 0.010673 second(s), 3 queries , Gzip On, Redis On.

    返回顶部