- 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
apt
apt-get install apache2 libapache2-mod-perl2 libmojolicious-perl
cpan
cpan install Plack::Handler::Apache2
From github:
git clone https://github.com/vanyabrovary/mojomod.git /var/www/Web
Add this line to apache conf file:
Include /var/www/Web/etc/host.conf
Restart apache
apache2ctl restart
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