Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 896 Bytes

README.md

File metadata and controls

43 lines (26 loc) · 896 Bytes

Mojolicious mod_perl simple implementation.

Requirements

  • Unix, Linux, Mac, Mac Server, Windows systems as long as perl is available.
  • Perl > 5.20
  • Apache 2.4 / mod_perl 2.0.9 with mpm_prefork_module

Installing

Dependencies installation

apt

apt-get install apache2 libapache2-mod-perl2 libmojolicious-perl

cpan

cpan install Plack::Handler::Apache2

Get last version

From github:

git clone https://github.com/vanyabrovary/mojomod.git /var/www/Web

Configure Apache

Add this line to apache conf file:

Include /var/www/Web/etc/host.conf

Restart apache

apache2ctl restart

Debugging during installation

Apache error logs.

tail -f /var/log/apache2/error.log

Mojo error logs.

tail -f /var/www/Web/log/error.log

Aapache config file example:

/var/www/Web/etc/apache2.conf