raksmart活动促销

分享

写回答

发帖

LP开了个分站用DEDECMS却出现500报错?

国外虚拟主机 国外虚拟主机 1361 人阅读 | 4 人回复

发表于 2009-2-8 10:00:14 | 显示全部楼层 |阅读模式

我在面板里开了个分站用来装DEDECMS,放上出去之后就出现500错误?请问是不是我主站根目录下的.htaccess设置错误了?.htaccess在分站里也要放一个吗?
.htaccess文件设置如下:
DirectoryIndex index.html index.php
AddHandler application/x-httpd-php5 .phpAddHandler text/html .html
AddHandler application/x-httpd-php5 .php

RewriteEngine On
RewriteBase /
RewriteRule ^archiver/([a-z0-9\-]+\.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 ^profile-(username|uid)-(.+)\.html$ viewpro.php?$1=$2
RewriteRule ^tag-(.+)\.html$ tag.php?name=$1


500报错如下:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mj-world.hjhost.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.41 Server at www.mj-world.com.cn Port 80

回答|共 4 个

一路同行

发表于 2009-2-8 10:03:12 | 显示全部楼层

检查一下目录权限是否755

gearom

发表于 2009-2-15 20:54:36 | 显示全部楼层

已经检查过不是这个问题

hssht

发表于 2009-2-15 21:53:18 | 显示全部楼层

复制一个.htaccess 放dede根目录下面试试
RAKSmart

一路同行

发表于 2009-2-16 09:47:10 | 显示全部楼层

看看面板的错误日志,上面有记录
RAKSmart
您需要登录后才可以回帖 登录 | 注册

本版积分规则