Skip to content

Commit

Permalink
add how to set the environment in apache
Browse files Browse the repository at this point in the history
  • Loading branch information
fcuny committed Aug 21, 2010
1 parent 34c128b commit ee55cc5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/Dancer/Deployment.pod
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,13 @@ following:
CustomLog /websites/myapp.example.com/logs/access_log common
</VirtualHost>

To set the environment you want to use for your application (production or development), you can set it this way:

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

=head3 Running from Apache via FastCGI

Expand Down

0 comments on commit ee55cc5

Please sign in to comment.