Webrick as production server vs. Thin or Unicorn?

A couple important reasons it’s written in Ruby (see http://github.com/ruby/ruby/tree/trunk/lib/webrick) Edited it doesn’t have many features that a production website usually needs, like multiple workers (in particular, pre-forking, life cycle management, asynchronous handling, etc), redirects, rewriting, etc When I mention redirects/rewrites, I’m referring to the fact that using Webrick, you have to handle rewrites at … Read more

Why does Unicorn need to be deployed together with Nginx?

Nginx is a pure web server that’s intended for serving up static content and/or redirecting the request to another socket to handle the request. Unicorn is a Rack web server and only intended to host a ‘Rack App’ which is usually generating dynamic content. Rack apps can also serve up static content but it’s less … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)