[提问]
godaddy 的windows虚拟主机安装了discuz 7.2 utf-8怎么静态化?
|
|
godaddy 的 windows虚拟主机,亚洲机房,安装了discuz 7.2 utf-8,怎么静态化?
我用的两个网上的方法都无效
一个是用htaccess 下面的写法
# 将 RewriteEngine 模式打开
RewriteEngine On
# 修改以下语句中的 /discuz 为你的论坛目录地址,如果程序放在根目录中,请将 /discuz 修改为 /
RewriteBase /
# Rewrite 系统规则请勿修改
RewriteRule ^archiver/((fid|tid)-[\w\-]+\.html)$ archiver/index.php?$1
RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2
RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2
RewriteRule ^tag-(.+)\.html$ tag.php?name=$1
首页可以访问,栏目的静态化链接出来了,但是点击后显示是page not find!
第二个方法:写个web.config文件上传到根目录,网上的代码【代码地址:www.discuz.net/thread-1666013-1-1.html 】我直接拷贝了上传,但是首页都无法访问了,直接显示:
500 - Internal server error.There is a problem with the resource you are looking for, and it cannot be displayed.
是不是godaddy 的windows虚拟空间,不能开启静态化呢?
大家有什么方法开启没? |
|
|
|
|
|
|
|
|
|
|
开心私塾
发表于 2010-11-24 11:24:43
|
显示全部楼层
|
|
|
|
|
|
|
|