When you deploy a Dancer application somewhere else, other than the root directory of a webserver, there are some things that have to change.

running multiple apps with Plack::Builder

see here

Absolute URLs need to prepend $ENV{SCRIPT_NAME}

For instance, if you loaded <img src="/images/logo.png"> before, now you need to load <img src="<% request.uri_base %>/images/logo.png">



(more info)


generic Plack methods

Apache 2.4

The new release Apache v2.4 included several things that makes this possible using just Apache: