插件作者的标准出来了!Manyou诚邀开发者加盟!立即免费下载 Discuz!6.1.0正式版
Discuz! 6.1.0 使用说明
Discuz!NT升级至v2.1
开放源码下载
UCenter Home 1.2 正式版发布
官方站 | 帮助文档
基于ECShop的免费网店托管-卖否
PHP就业培训直通车 | LAMP培训大连
Discuz!收费服务内容及价格
论坛免费升级 手握手
Discuz!/ECShop 专用官方虚拟主机
【乐游-浪漫庄园】专题活动
Comsenz 招聘信息
网店系统ECShop v2.6.0正式版火热发布
基于Discuz!的免费论坛空间5D6D
第二届PHP中国开源发展及人才状况调查
发新话题
打印

Discuz!6.0+SupeSite5.5.2/X-Space3.0.2 Rewrite 设置说明

本主题由 安笛 于 2007-7-27 15:40 设置高亮
为什么一到IIS服务器就一笔带过。系统的讲一下嘛。专门出个帮助文档帖不好吗?毕竟是DZ的东西。有些空间商也需要详细看才玩的转。
还是等本公子告诉你们好了
我的味道你不知道
你的味道我不知道
谁叫咱俩鼻炎
谢谢,设置成功了,可是不能用中文用户名登录。
我按照楼主的方法来配置还是不行,必须得把 规则写进根目录的配置里面才行。。。
复制内容到剪贴板
代码:
<Directory "F:/MyPHP/wwwroot">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride none
    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all
################## /Rewite规则 ##################
     <IfModule mod_rewrite.c>
         RewriteEngine On
         RewriteRule ^(.*)/archiver/([a-z0-9\-]+\.html)$ $1/archiver/index.php?$2
         RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html$ $1/forumdisplay.php?fid=$2&page=$3
         RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/viewthread.php?tid=$2&extra=page\%3D$4&page=$3
         RewriteRule ^(.*)/profile-(username|uid)-(.+)\.html$ $1/viewpro.php?$2=$3
         RewriteRule ^(.*)/space-(username|uid)-(.+)\.html$ $1/space.php?$2=$3
     </IfModule>
################## Rewite规则/ ##################
</Directory>

为什么发布的资讯全部是乱码

为什么发布的资讯全部是乱码,不管是从帖子转到资讯里的还是独立发布的资讯都是乱码...
http://ph027.88.71china.com/ss
谢谢~~~~~~~
天下風雲出我輩, 一入江湖歲月催. 皇圖霸業談笑中, 不勝人生一場醉
谢谢,先收藏.
天下广告www.aaaad.cn
育儿沙龙www.babyww.com
圈子网www.funcoo.com
发先个很重要的问题。
若启用了子域名功能,.htaccess规则中的目录应该怎么填写。
如若论坛在根目录的bbs目录下,启用子域名后为bbs.xxxxx.com
那么如果htaccess中
RewriteBase /bbs
那么访问bbs.XXXX.com时候会出现404错误。
但在www.xxxxx.com/bbs下正常

求解决办法
顶起来。顶起来帮忙解决
                              
             :)         :)              :)
  :)                :)                 :)
        :)                       :)
               :)         :)
                     :)
发新话题
版块跳转