raksmart活动促销

分享

写回答

发帖

LP出现500 Internal Server Error该怎么解决

国外虚拟主机 国外虚拟主机 2531 人阅读 | 9 人回复

发表于 2009-11-4 14:57:20 | 显示全部楼层 |阅读模式

今天在LP做了域名重定向出现了这个问题500 Internal Server Error 请问该怎么解决?

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@**.**.com 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 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


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

Apache/1.3.41 Server at wodetuanzhangwodetuan.bj.cn Port 80


谢谢!

回答|共 9 个

一路同行

发表于 2009-11-4 15:02:17 | 显示全部楼层

看看cpanel面板里的错误日志,里面有记录

hyhua

发表于 2009-11-4 16:18:09 | 显示全部楼层

好的。我看看。

hyhua

发表于 2009-11-4 16:23:13 | 显示全部楼层

[Wed Nov  4 00:18:51 2009] [alert] [client 221.194.132.198] /home/**/public_html/**/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration

大概是这样的。请问该怎么解决?

一路同行

发表于 2009-11-4 16:31:31 | 显示全部楼层

你是在htaccess里添加的重定向吗?应该是规则写错了

hyhua

发表于 2009-11-4 16:34:56 | 显示全部楼层

这个是.htaccess内容


RewriteEngine on
RewriteCond %{HTTP_HOST} ^$ [OR]
RewriteCond %{HTTP_HOST} ^www.$
RewriteRule ^(.*)$ http://www.主域名.com [R=301,L]

是这样的。我该怎么样做呢?

hyhua

发表于 2009-11-4 16:41:19 | 显示全部楼层

期待回复

[ 本帖最后由 hyhua 于 2009-11-4 04:43 PM 编辑 ]

一路同行

发表于 2009-11-4 17:52:52 | 显示全部楼层

上面的错误提示是说</IfModule> 无效
你是不是wp程序?

hyhua

发表于 2009-11-4 18:13:33 | 显示全部楼层

我用的SHOPEX

一路同行

发表于 2009-11-5 09:54:54 | 显示全部楼层

你检查一下htaccess里面的规则,或者把重定向的规则删掉,看看还有没有问题
重定向可以在cpanel面板的Redirects里添加
您需要登录后才可以回帖 登录 | 注册

本版积分规则