raksmart活动促销

分享

写回答

发帖

不知何故忽然出现500错误

国外虚拟主机 国外虚拟主机 12893 人阅读 | 25 人回复

发表于 2009-6-12 13:00:24 | 显示全部楼层 |阅读模式

网址:www.zangpu.com
今天上午打开网页,出现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@zangpu.ilzp.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 www.zangpu.com Port 80


没有对网站进行过升级或静态化操作,因此对于故障的出现百思不得其解。
查询站内相关问题,均与我遇到的问题无关。
昨天晚上在虚拟空间上安装了一个UChome网站,因此怀疑是不是由于数据库超过CPU限制导致的问题?
但该虚拟空间还装了几个网站,均为受到影响,并且可以肯定在安装UChome网站的过程中没有对该网站的文件夹造成损坏。
恳请有经验的站长或社区版主帮忙,特为感谢!

回答|共 25 个

一路同行

发表于 2009-6-12 13:10:13 | 显示全部楼层

看看cpanel面板的错误日志
RAKSmart

bbs.ilzp.com

发表于 2009-6-12 13:21:18 | 显示全部楼层

原帖由 一路同行 于 2009-6-12 01:10 PM 发表
看看cpanel面板的错误日志


麻烦版主帮我诊断一下问题所在:

[Thu Jun 11 22:16:15 2009] [alert] [client 123.125.66.78] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:16:15 2009] [alert] [client 123.125.66.78] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:16:07 2009] [alert] [client 121.16.34.82] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:16:07 2009] [alert] [client 121.16.34.82] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:15:44 2009] [error] [client 125.33.97.164] File does not exist: /home/ilzp08/public_html/bbs/uc/data/avatar/000/00/17/34_avatar_middle.jpg
[Thu Jun 11 22:15:38 2009] [alert] [client 123.125.66.61] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:15:38 2009] [alert] [client 123.125.66.61] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:15:23 2009] [error] [client 222.76.19.83] File does not exist: /home/ilzp08/public_html/bbs/uc/data/avatar/000/00/20/32_avatar_middle.jpg
[Thu Jun 11 22:15:23 2009] [error] [client 222.76.19.83] File does not exist: /home/ilzp08/public_html/bbs/uc/data/avatar/000/00/48/13_avatar_middle.jpg
[Thu Jun 11 22:15:22 2009] [error] [client 222.76.19.83] File does not exist: /home/ilzp08/public_html/bbs/uc/data/avatar/000/00/47/83_avatar_middle.jpg
[Thu Jun 11 22:15:20 2009] [error] [client 222.76.19.83] File does not exist: /home/ilzp08/public_html/bbs/uc/data/avatar/000/00/46/61_avatar_middle.jpg
[Thu Jun 11 22:15:20 2009] [error] [client 222.76.19.83] File does not exist: /home/ilzp08/public_html/bbs/inc<li class=
[Thu Jun 11 22:15:09 2009] [alert] [client 222.73.247.122] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:15:09 2009] [alert] [client 222.73.247.122] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:15:09 2009] [alert] [client 222.73.247.122] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:15:09 2009] [alert] [client 222.73.247.122] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:15:02 2009] [alert] [client 123.125.66.76] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:15:02 2009] [alert] [client 123.125.66.76] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:14:26 2009] [alert] [client 123.125.66.93] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:14:26 2009] [alert] [client 123.125.66.93] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:14:25 2009] [alert] [client 121.16.34.82] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration
[Thu Jun 11 22:14:25 2009] [alert] [client 121.16.34.82] /home/ilzp08/public_html/zangpu/.htaccess: Invalid command '</IfModule>RewriteCond', perhaps mis-spelled or defined by a module not included in the server configuration

错误日志.rar

2.32 KB, 下载次数: 1130

一路同行

发表于 2009-6-12 13:24:09 | 显示全部楼层

,htaccess规则有问题吧,你要实现什么

bbs.ilzp.com

发表于 2009-6-12 13:26:48 | 显示全部楼层

我没有搞过这个文件,只是想能够访问网站。
我把这个文件删除了,怎么竟然可以访问呢?
烦请版主帮忙看一下该文件的设置规则,删除的话会不会影响到网站其他方面?

补充:我刚才尝试后发现,该文件删除,只能打开首页,其他页面都出现404错误。

[ 本帖最后由 bbs.ilzp.com 于 2009-6-12 01:40 PM 编辑 ]

.htaccess.rar

799 Bytes, 下载次数: 1011

一路同行

发表于 2009-6-12 14:19:38 | 显示全部楼层

你安装的是什么程序?

bbs.ilzp.com

发表于 2009-6-12 15:14:47 | 显示全部楼层

原帖由 一路同行 于 2009-6-12 02:19 PM 发表
你安装的是什么程序?


shopex

一路同行

发表于 2009-6-12 15:30:46 | 显示全部楼层

把.htaccess文件的内容清空,再重新上传安装一次

bbs.ilzp.com

发表于 2009-6-12 15:53:45 | 显示全部楼层

原帖由 一路同行 于 2009-6-12 03:30 PM 发表
把.htaccess文件的内容清空,再重新上传安装一次


"再重新上传安装一次"指的是shopex要重新安装一次吗?还是上传.htaccess文件就可以了?
我将.htaccess文件的内容清空后上传到zangpu的根目录下,www.zangpu.com依然只能打开首页,打不开其他页面。

一路同行

发表于 2009-6-12 16:02:00 | 显示全部楼层

把.htaccess文件的内容清空,再重新上传shopex安装一次
您需要登录后才可以回帖 登录 | 注册

本版积分规则