[Dancer-users] how to set different running environment with Plack::Handler?
P Kishor
punk.kish at gmail.com
Sat Aug 21 15:23:38 CEST 2010
On Sat, Aug 21, 2010 at 6:44 AM, Alexis Sukrieh <sukria at sukria.net> wrote:
> 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"
> ...
>
Thanks! The above should be a part of the deployment docs.
--
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================
More information about the Dancer-users
mailing list