Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7768
  • 博文数量: 2
  • 博客积分: 53
  • 博客等级: 民兵
  • 技术积分: 35
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-12 20:03
文章分类
文章存档

2012年(1)

2011年(1)

我的朋友
最近访客

分类: 系统运维

2011-06-28 23:11:46

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 .
阅读(1278) | 评论(0) | 转发(1) |
0

上一篇:没有了

下一篇:insert大量数据经验之谈

给主人留下些什么吧!~~