Search code examples
chicagoboss

What is the default Web Server for Chicago Boss?


Chicago Boss is a great Erlang Framework. It ships with many dependecies including mochiweb, yaws, and misultin. After installation, Chicago Boss runs a development server very well.

I need to know which of the web servers it ships with, does it use by default ? and how can i change from one web server to another without compromising my Chicago Boss project ?


Solution

  • From CB Wiki:

    All configuration takes place in boss.config in your project directory....

    Webserver

    • port - The port to run the server on. Defaults to 8001.
    • server - The HTTP server to use. Valid values are:
      • mochiweb - The Mochiweb Web Server
      • misultin - The Misultin Web Server

    So check in boss.config for which web server you use. Hope this helps!