Using apache + mod_perl with mojolicious isn't very wise decision.

I suggest iptables + hypnotoad or nginx + hypnotoad . Both of them are much simpler and faster





Hello Thorsen,

Thanks for the reply, Tried deploying the mojolicious application with Apache using 'mod_perl' which is working, still having few issues like routing and timeouts

<https://lh3.googleusercontent.com/-X9WknYMwu54/VtAJMt8izOI/AAAAAAAAAAM/KUp7iDJcpKg/s1600/error.jpg>

when its opened in a new tab or on refreshing the page, sometime its works.


Am looking forward for the solution, thanks in advance.





My_Virtual Host Configuration _looks something like this :-


<VirtualHost *:8600>
DocumentRoot /path/app
SetEnv APPLICATION_ENV 'development'
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Perl>
$ENV{PLACK_ENV} = 'production';
$ENV{MOJO_HOME} = '/path/app';
$ENV{MOJO_MODE} = 'deployment';
</Perl>
<Location />
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /path/app
AllowOverride None
# Allow open access:

Require all granted

</Location>

</VirtualHost>



On Monday, February 22, 2016 at 9:24:15 PM UTC+5:30, Jan Henning Thorsen wrote:

    Hi,

    Have you looked at any of these resources:

    *
    
https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Cookbook.pod#DEPLOYMENT
    
<https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Cookbook.pod#DEPLOYMENT>
    *
    
https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Cookbook.pod#Apache-mod_proxy
    
<https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Cookbook.pod#Apache-mod_proxy>
    *
    
https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Cookbook.pod#Making-your-application-installable
    
<https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Cookbook.pod#Making-your-application-installable>

    You might be interested in these projects as well:

    * https://metacpan.org/pod/Carmel <https://metacpan.org/pod/Carmel>
    * https://metacpan.org/pod/Carton <https://metacpan.org/pod/Carton>

    Carmel is the successor of Carton, which is a tool for bundling
    dependencies with your application.


    Best regards,
    Jan Henning Thorsen


    On Monday, February 22, 2016 at 2:44:57 PM UTC+1,
    [email protected] <javascript:> wrote:

         Hello everyone, i had completely developed an application in
        perl with mojolicious framework. since i am new to perl and
        its frameworks i don't know how to *upload the project to the
        server* or*hosting the project online*. if it is possible to
        host the project with*apache server*. well and good , please
        let me know how to do it! and also tell me know the *other
        ways of deploying* the project online. Thanks in advanced.

--
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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

--
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 https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to