维基天空

October 25, 2006

HOST8虚拟空间如何设置mod_rewrite..

Filed under: Host8相关 — admin @ 10:36 pm

.htaccess文件属性必须为644.
并且文件开头必须加入以下两行,一般的空间只加第一行就OK,,但是HOST8空间必须两行同时加才有效

RewriteEngine On
Options +Followsymlinks

例如我刚做的测试的两个站

http://discuz.host8.org
http://phpwind.host8.org

1 Comment »

  1. RewriteEngine On
    Options +Followsymlinks

    在这两行原有的基础上添加相应的规则,才算完整!

    admin:: 偶知道,偶的意思是,前面得先加入这两行声明…

    Comment by xjspace — March 11, 2007 @ 7:06 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress