免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1285 | 回复: 0

Ruby : Internal Server Error [复制链接]

论坛徽章:
0
发表于 2011-12-21 08:44 |显示全部楼层
The sever show me this message as following ,


  1. Internal Server Error

  2. The server encountered an internal error or misconfiguration and was unable to complete your request.

  3. Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

  4. More information about this error may be available in the server error log.
  5. Apache/2.2.12 (Ubuntu) Server at 127.0.1.1 Port 80


then i check the apache log at /var/log/apache2/error.log like this


  1. warning: Insecure world writable dir /var/www in LOAD_PATH, mode 040777
  2. Jun 28 23:05:34 2011] [error] mod_ruby: error in ruby
  3. Jun 28 23:05:34 2011] [error] mod_ruby: /usr/lib/ruby/1.8/apache/ruby-run.rb:53:in `load': loadin
  4. Jun 28 23:05:34 2011] [error] mod_ruby: from /usr/lib/ruby/1.8/apache/ruby-run.rb:53:in `handle


Now,  i setting the directory /var/www/   by this command : 


  1. sudo chmod go-w /var/www


it works .
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP