[Dancer-users] how to set different running environment with Plack::Handler?

Alexis Sukrieh sukria at sukria.net
Sat Aug 21 13:44:16 CEST 2010


On 20/08/2010 08:42, franck wrote:
> I  don't remember where you can export environment variable with apache
> (something like /etc/apache/envvar, not sure),

This is done with SetEnv in your Apache config:

     <VirtualHost>
     ...
     SetEnv DANCER_ENVIRONMENT "production"
     ...



More information about the Dancer-users mailing list