像今天换回Lp(lunarpages)的主机,本来是在门户通的空间上打包的zip文档,按说这样拿到lunarpages的php主机上应该是通用的了,但是老是显示500错误,具体提示如下:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] 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 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.41 Server at www.xgiu.com Port 80
按照它提示的错误,进lunarpages的cPanel后台查看Error Log(错误事件日志?)
看到的记录如下:
[Thu Jul 2 20:32:16 2009] [error] [client 72.46.130.130] File does not exist: /home/file/public_html/500.shtml
[Thu Jul 2 20:32:16 2009] [error] [client 72.46.130.130] Premature end of script headers: /home/file/public_html/blog/install/install.php
SoftException in Application.cpp:601: Directory "/home/file/public_html/blog" is writeable by group
[Thu Jul 2 20:32:15 2009] [error] [client 72.46.130.130] File does not exist: /home/file/public_html/500.shtml
[Thu Jul 2 20:32:15 2009] [error] [client 72.46.130.130] Premature end of script headers: /home/file/public_html/blog/install/install.php
SoftException in Application.cpp:601: Directory "/home/file/public_html/blog" is writeable by group
[Thu Jul 2 20:32:04 2009] [error] [client 72.46.130.130] File does not exist: /home/file/public_html/500.shtml
[Thu Jul 2 20:32:04 2009] [error] [client 72.46.130.130] Premature end of script headers: /home/file/public_html/blog/install/install.php
SoftException in Application.cpp:601: Directory "/home/file/public_html/blog/install" is writeable by group
[Thu Jul 2 20:32:03 2009] [error] [client 72.46.130.130] File does not exist: /home/file/public_html/500.shtml
[Thu Jul 2 20:32:03 2009] [error] [client 72.46.130.130] Premature end of script headers: /home/file/public_html/blog/install/install.php
SoftException in Application.cpp:601: Directory "/home/file/public_html/blog/install" is writeable by group
SoftException in Application.cpp:601: Directory "/home/file/public_html/blog/install" is writeable by group
模块解析出错,因为 install 目录有组写入权限。
按照这个说法,就把 install 修改权限为775 ,然后问题解除。
查后台还是有些小错误提示,不过我的博客既然正常了,就懒得管那些小问题了,呵呵~~
发表评论