>
> I am currently using Apache for my deploymentAny ideas?
>
> Thanks!
> -Andy O
>
>
Mojolicious 5.16
Apache conf:
--------------------------
--------------------------
<VirtualHost tratata.ua:80>
something parameters
PerlOptions +Parent
PerlSwitches -I/var/www/mojo/path_to/lib
PerlOptions -SetupEnv
<Location />
PerlOptions -SetupEnv
SetHandler perl-script
PerlHandler Plack::Handler::Apache2
PerlSetVar psgi_app /var/www/mojo/path_to/script/script_name
</Location>
something parameters
</VirtualHost>
Script:
--------------------------
--------------------------
#!/usr/bin/env perl
use ModPerl::MethodLookup;
ModPerl::MethodLookup::preload_all_modules( );
use ModPerl::Util ( );
use Mojolicious::Commands;
$ENV{MOJO_HOME} = '/var/www/mojo/path_to';
$ENV{MOJO_TMPDIR} = '/var/www/mojo/path_to/tmp';
$ENV{MOJO_APP} = 'MyAppName';
$ENV{PLACK_ENV} = 'development';
$ENV{MOJO_MODE} = 'development';
$ENV{MOJO_LOG_LEVEL} = 'debug';
#$ENV{PLACK_ENV} = 'production';
#$ENV{MOJO_MODE} = 'production';
#$ENV{MOJO_LOG_LEVEL} = 'error';
$ENV{MOJO_NO_DETECT} = 0;
$ENV{MOJO_NO_IPV6} = 1;
$ENV{MOJO_NO_BONJOUR} = 1;
$ENV{MOJO_NO_TLS} = 1;
$ENV{MOJO_TEMPLATE_CACHE} = 40;
$ENV{MOJO_RELOAD} = 0;
$ENV{MOJO_CHUNK_SIZE} = 262144;
$ENV{MOJO_MAX_MEMORY_SIZE} = 524288;
$ENV{MOJO_DNS_SERVER} = 'DNS_IP';
$ENV{TZ} = 'Europe/Kiev';
$ENV{MOJO_FATAL_DEPRECATIONS} = 1;
Mojolicious::Commands->start_app('MyAppName');
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.