500 Internal Server Error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
....
在justhost空间里装Magento 出现这500 Internal Server Error的错误,是知道justhost支持magento的,初步怀疑权限错误的原因。
询问justhost的在线帮助,最后得到解决:
- Magento网站根目录的文件权限设为666
- 目录的权限设为755
附,系统命令的话就是
system ( 'find ./ -type f -exec chmod 644 {} \;' ) ;
system ( 'find ./ -type d -exec chmod 755 {} \;' ) ;
system ( 'find ./ -name \*.cgi -exec chmod 755 {} \;' ) ;
system ( 'find ./ -name \*.pl -exec chmod 755 {} \;' ) ;
system ( 'find ./ -name \*.pm -exec chmod 755 {} \;' ) ;
这样就解决了Magento的500 Internal Server Error 错误。
作者: Sjolzy
--EOF--