|
|
我在面板里开了个分站用来装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 |
|