raksmart活动促销

分享

写回答

发帖

[提问] 『已解决』求助:500错误

HostMonster HostMonster 4509 人阅读 | 10 人回复

发表于 2010-2-2 09:14:45 | 显示全部楼层 |阅读模式

早上发现空间内部服务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@xxx.xxxxxx.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/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 mod_auth_passthrough/2.1 FrontPage/5.0.2.2635 Server at bbs.wbosport.com Port 80
打开HM缺省的页面,有很很多中文广告,请行家帮看看是不是有问题啊:

Snap1.jpg


[ 本帖最后由 lyqx 于 2010-2-2 09:21 AM 编辑 ]

回答|共 10 个

一路同行

发表于 2010-2-2 09:29:07 | 显示全部楼层

把HM的那个默认页面删掉就行了
上面的500错误,看看面板里的错误日志

lyqx

发表于 2010-2-2 09:37:39 | 显示全部楼层

版主帮看看这个日记哈

[Mon Feb 01 18:31:58 2010] [alert] [client 123.125.66.72] /home/.../public_html/219i.com/.htaccess: Option All not allowed here
[Mon Feb 01 18:31:58 2010] [alert] [client 123.125.66.72] /home/.../public_html/219i.com/.htaccess: Option All not allowed here
[Mon Feb 01 18:32:01 2010] [alert] [client 123.125.66.94] /home/.../public_html/219i.com/.htaccess: Option All not allowed here
[Mon Feb 01 18:32:01 2010] [alert] [client 123.125.66.94] /home/.../public_html/219i.com/.htaccess: Option All not allowed here
[Mon Feb 01 18:32:03 2010] [alert] [client 202.160.180.12] /home/.../public_html/wbosport.com/.htaccess: Option All not allowed here [Mon Feb 01 18:32:03 2010] [alert] [client 202.160.180.12] /home/.../public_html/wbosport.com/.htaccess: Option All not allowed here [Mon Feb 01 18:32:04 2010] [alert] [client 123.125.66.124] /home/.../public_html/219i.com/.htaccess: Option All not allowed here
[Mon Feb 01 18:32:04 2010] [alert] [client 123.125.66.124] /home/.../public_html/219i.com/.htaccess: Option All not allowed here
[Mon Feb 01 18:32:04 2010] [notice] SIGUSR1 received. Doing graceful restart
[Mon Feb 1 18:32:09 2010] [internal] (1846) /bin/buffer Parent 1832 Received SIGTERM [Mon Feb 1 18:32:09 2010] [internal] (1846) /bin/buffer SIGTERM Receieved
[Mon Feb 1 18:32:09 2010] [internal] (1825) /bin/error_logger SIGTERM Received [Mon Feb 1 18:32:09 2010] [internal] (26697) /bin/error_logger started

一路同行

发表于 2010-2-2 09:47:30 | 显示全部楼层

你是不是修改过htaccess文件?里面都有什么

lyqx

发表于 2010-2-2 09:59:10 | 显示全部楼层

出问题之前,什么都没动。好多天都没上后台了。
文件内容:

RewriteEngine on

Options All -Indexes

<Files *>
# Set the default handler.
DirectoryIndex index.htm index.php index.html
</Files>

<Files 403.shtml>
order allow,deny
allow from all
</Files>

RewriteCond %{HTTP_HOST} ^219i.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.219i.com$
RewriteRule ^com\/?$ "http\:\/\/com\.219i\.com\/" [R=301,L]

RewriteCond %{HTTP_REFERER} !^http://219i.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://219i.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://8ggc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://8ggc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://b.219i.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://b.219i.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://bbs.219i.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://bbs.219i.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://bbs.wbosport.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://bbs.wbosport.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://com.219i.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://com.219i.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://com.8ggc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://com.8ggc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ecshop.wbosport.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ecshop.wbosport.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://kf.219i.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://kf.219i.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://nav.219i.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://nav.219i.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://photo.wbosport.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://photo.wbosport.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://sale.219i.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://sale.219i.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://wbosport.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://wbosport.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.219i.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.219i.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.8ggc.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.8ggc.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wbosport.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.wbosport.com$      [NC]
RewriteRule .*\.(jpeg|rar|txt|jpg|gif|bmp|png|zip|mp3|wma|wmv|mpeg|mpg|rm|ram|doc|swf|avi|flv|sql|ppt|xls|chm|pdf|torrent)$ http://www.219i.com/ [R,NC]

[ 本帖最后由 lyqx 于 2010-2-2 10:02 AM 编辑 ]

一路同行

发表于 2010-2-2 10:11:08 | 显示全部楼层

你把htaccess重命名一下,就是让htaccess文件不起作用,再看看有没有错误

lyqx

发表于 2010-2-2 10:25:28 | 显示全部楼层


真的是哦。htaccess不起作用,网站就能打开哦了。

好奇怪啊,我都没动什么啦。所有网站都是这样,难道是HM空间有什么动作吗?

lyqx

发表于 2010-2-2 10:29:49 | 显示全部楼层

我论坛网站上有发帖纪录,今天早上8.05还有人发帖成功。出问题就是在8.05到8.30这期间。

一路同行

发表于 2010-2-2 10:35:44 | 显示全部楼层

把htaccess文件里 Options All -Indexes 这句删掉试试

lyqx

发表于 2010-2-2 10:46:21 | 显示全部楼层

确实!去掉了那个Options All -Indexes 语句就没有问题了。
那个语句是什么意思呢?
记得原来好像没有这个语句,是HM添加上去的?
如果不是HM添加上去的,那就麻烦大了...
还有那个HM的缺省页,那些中文广告,谁能看看是不是HM空间自有的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

HostMonster讨论

HostMonster
优惠码:优惠链接
介绍:HostMonster美国主机商成立于1996年,总部位于犹他州普罗沃,提供主机托管服务,在业内有比较有实力,而且口碑也不错。HostMonster美国主机性价比较高,而且基本不会额外收取费用,其无限型方案支持无限磁盘空间,无限带宽和电子邮件帐户,提供免费域名1个。
查看更多

lyqx

发表主题