raksmart活动促销

分享

写回答

发帖

紧急求急,空间上所有的网站都不能登录.

国外虚拟主机 国外虚拟主机 12703 人阅读 | 30 人回复

发表于 2007-10-30 23:23:49 | 显示全部楼层 |阅读模式

在Apache Handlers增加了.php  .html  .htm 这三项之后,但之后放在这个空间里的网站都打不开了,显示如下错误提示,请各位达人帮忙是那里出错了,如何补救,现在我把增加的.PHP .php  .html  .htm 都删了,但还是不能恢复正常登录.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@sourcingchina.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 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

回答|共 30 个

忧伤b小调

发表于 2007-10-31 00:36:30 | 显示全部楼层

内部服务器错误,
请联系管理员.

发信给LP客服吧,让他们替你搞定.

bizsource

发表于 2007-10-31 09:22:26 | 显示全部楼层

谢谢!
我先发信给他们!

bizsource

发表于 2007-10-31 12:01:41 | 显示全部楼层

LP客服回信如下,我只能大要理解意思,但为了准确修改和设置空间,谁能翻译下,
This appears to be permissions on your files, and folders are set incorrectly. Folders under public_html should be set to 755 and files should be 644, however you have some files set to 777 and some folders set to 777.

To fix this, you will want to do the following:

1. login to cpanel
2. click on file manager
3. click on the icon beside public_html
4. You will see your file structure,
5. navigate to a file or folder that is set to 777
6. click on the file/folder name (not the icon beside it)
7. In the upper right, you will see "change permissions"
8. change to either 755 (for folders) or 644 (for files)

Once you correct the folder/file permissions, please advise if you continue to have issues.

大漠孤狼

发表于 2007-10-31 12:34:38 | 显示全部楼层

有些文件的权限不对,不能设置为777
文件夹的权限应该是755 文件权限应该是644

忧伤b小调

发表于 2007-10-31 12:53:39 | 显示全部楼层

登录到cpanel
2 。点击"file manager "
3 。点击图标旁边"public_html"
4 。你会看到一个文件结构,(在右上角可以看到)
5 。将这个文件夹设置为777
6 。点击这个文件/文件夹的名称(不是图标旁边那个)
7 。在右上角,你会看到"change permissions"
8 。修改成755 (for folders)或644 (for files)
RAKSmart

忧伤b小调

发表于 2007-10-31 12:56:01 | 显示全部楼层

为了测试楼主的问题,我把自己的空间也从新添加".php  .html  .htm " 也导致楼主这个问题,我从新修改了文件夹权限,但是没有用.

(我以前也有添加过.php  .html  .htm ,可以使用)

网站现在还出现500错误..

正在找解决办法.

孤狼,,,大象,来帮忙.

bizsource

发表于 2007-10-31 13:21:35 | 显示全部楼层

2 。点击"file manager "
3 。点击图标旁边"public_html"
点击图标旁边"public_html"后右上角有这样的结构:
public_html

Delete this folder and all files under it
Rename this folder
Change Permissions
Move this folder
Copy this folder
4 。你会看到一个文件结构,(在右上角可以看到)

5 。将这个文件夹设置为777
没有看到具体的文件,怎么设置?
6 。点击这个文件/文件夹的名称(不是图标旁边那个)
7 。在右上角,你会看到"change permissions"
8 。修改成755 (for folders)或644 (for files)

打开change permissions,修改以下选择框的属性.
Mode User Group World
Read   
Write   
Execute   
应该是修改为755还是644呢,没有具体的文件夹和文件.?
不知小调的测试结果现在如何?

忧伤b小调

发表于 2007-10-31 13:35:44 | 显示全部楼层

文件夹就是 755,文件就是 644

我修改了,但是还是500错误.

发了邮件,LP还没回复.

忧伤b小调

发表于 2007-10-31 14:52:13 | 显示全部楼层

问题解决了一部分.

主站下的PHP文件一律无法运行.一打开还是500错误.html文件可以运行.

添加的网站,运行一切正常.

我琢磨这究竟是怎么回事.文件权限设置是没问题的.
您需要登录后才可以回帖 登录 | 注册

本版积分规则