raksmart活动促销

分享

写回答

发帖

突然出现500错误怎么办?

国外虚拟主机 国外虚拟主机 4384 人阅读 | 14 人回复

发表于 2009-6-3 02:17:51 | 显示全部楼层 |阅读模式

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@csiwa.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 csiwa.com Port 80






[Tue Jun  2 11:15:05 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:15:05 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:15:03 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:15:03 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:14:40 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:14:40 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:14:40 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:14:40 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:14:39 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:14:39 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:13:24 2009] [alert] [client 124.115.0.161] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:13:24 2009] [alert] [client 124.115.0.161] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:11:59 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:11:59 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:11:58 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:11:58 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:11:32 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:11:32 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:11:31 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:11:31 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:11:30 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:11:30 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration
[Tue Jun  2 11:11:30 2009] [alert] [client 116.27.177.76] /home/csiwa0/.htaccess: Invalid command 'LayoutIgnoreURI', perhaps mis-spelled or defined by a module not included in the server configuration

回答|共 14 个

qijingheng

发表于 2009-6-3 02:18:27 | 显示全部楼层

空间根目录下有一个.htaccess文件;
ErrorDocument 401 /401.html
ErrorDocument 402 /402.html
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
LayoutIgnoreURI *.php
LayoutIgnoreURI *.cgi
LayoutIgnoreURI *.htm
LayoutIgnoreURI *.html
LayoutIgnoreURI *.xhtml



ErrorDocument 404 /index.php
ErrorDocument 403 http://www.csiwa.com  #URL方式
ErrorDocument 500 /index.php



RewriteEngine On


RewriteBase /

一路同行

发表于 2009-6-3 09:43:50 | 显示全部楼层

LayoutIgnoreURI *.php
LayoutIgnoreURI *.cgi
LayoutIgnoreURI *.htm
LayoutIgnoreURI *.html
LayoutIgnoreURI *.xhtml

这些是用来干什么的?

qijingheng

发表于 2009-6-3 13:36:38 | 显示全部楼层

不知道呢,我在网上下载的呢

qijingheng

发表于 2009-6-3 13:46:49 | 显示全部楼层

要怎么搞啊

一路同行

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

把这段规则删掉吧

qijingheng

发表于 2009-6-3 13:53:00 | 显示全部楼层

我把.htaccess删掉了,还是不行呢

一路同行

发表于 2009-6-3 14:08:16 | 显示全部楼层

LayoutIgnoreURI *.php
LayoutIgnoreURI *.cgi
LayoutIgnoreURI *.htm
LayoutIgnoreURI *.html
LayoutIgnoreURI *.xhtml
把这段规则删了就行了
你.htaccess放在那个目录?其他目录还有吗

qijingheng

发表于 2009-6-3 14:13:39 | 显示全部楼层

ErrorDocument 401 /401.html
ErrorDocument 402 /402.html
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
ErrorDocument 404 /index.php
ErrorDocument 403 http://www.csiwa.com  #URL方式
ErrorDocument 500 /index.php
RewriteEngine On
RewriteBase /



这样一样打不开呢。/
其他目录没有了

一路同行

发表于 2009-6-3 14:16:26 | 显示全部楼层

看看错误日志还有什么错误提示?
您需要登录后才可以回帖 登录 | 注册

本版积分规则