pstaabp/webwork2 — pull request #31 by goehle (2014-03-24 00:06:47+00:00)
Title: Deliver Dancer Via Apache/CGI

Changed things so that the dancer components of webwork3 are served via apache using cgi.

In order for this to work you need to enable the apache module fcgi (or fcgid) on your machine. (I had to do
sudo apt-get install libapache2-mod-fcgid). You also need Plack::Runner (I did apt-get install libplack-perl).

Note: I'm still having trouble getting the manager to work, so there may be something incomplete here.

Pros:
- Dancer doesn't have to be started on its own. This means that we don't have to worry about how to deploy dancer as a service on all the different distributions.
- Dancer doesn't have to be run manually, in fact you can change something in dancer, hit refresh and it uses the new code.

Cons:
- It seems a little slower.
- Its a little harder to get debug information since its not spewing onto the screen. (Need to have a debug log file.)