lunarpages空间真的支持。htacess吗
|
|
在这里看到大家说lunarpages支持。htaccess为静态,但是我的那个站为什么就是不支持呢,我的blog程序放在了www.gpw123.cn的根目录下
其中想为静态有这么一步:
# BEGIN Sablog-X
RewriteEngine On
RewriteBase /
# 文章
RewriteRule ^show-([0-9]+)-([0-9]+)\.html$ index.php?action=show&id=$1&page=$2
# 分类
RewriteRule ^category-([0-9]+)-([0-9]+)\.html$ index.php?action=index&cid=$1&page=$2
# 只带月份的归档
RewriteRule ^archives-([0-9]+)-([0-9]+)\.html$ index.php?action=index&setdate=$1&page=$2
# 用户列表、高级搜索、注册、登陆
RewriteRule ^(archives|search|reg|login|index|links)\.html$ index.php?action=$1
# 全部评论、标签列表、引用列表 带分页
RewriteRule ^(comments|tagslist|trackbacks|index)-([0-9]+)\.html$ index.php?action=$1&page=$2
# END Sablog-X
并把以上内容保存为。htaccess文件,伤处到根目录下,我上传了。然后的操作是
打开未优化链接
打开优化后链接
检验这两个链接打开的页面是否相同,结果发现:打开未优化链接打开了:http://www.gpw123.cn/index.php
而”打开优化后链接“却无法打开,提示404错误。
如果两个都能打开同样的页面说明支持静态化,如果不能打开说明不支持,现在出现的情况是不能打开
难道这样也支持。htaccess静态化。
我很郁闷,我的操作没有错啊,请高手指教下。如有错,请告诉下55555555555555555
[ 本帖最后由 gpwzzcom 于 2007-10-20 03:03 PM 编辑 ] |
|
|
|
|
|
|
|
|
|
|
忧伤b小调
发表于 2007-10-20 15:28:27
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
大漠孤狼
发表于 2007-10-20 19:07:48
|
显示全部楼层
|
|
|
|
|
|
|
|