paperlined.org
apps > dancer
document updated 12 years ago, on Feb 21, 2012

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">

uri_for

documentation

(more info)

other

generic Plack methods

Apache 2.4

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