- or download this
<VirtualHost *:80>
ServerName localhost
ProxyPass / http://localhost:8080/
...
PerlSetVar psgi_app /var/www/MezlApp/script/runapp
</Location>
</VirtualHost>
- or download this
#!/usr/bin/perl
use strict;
use warnings;
...
my $hypnotoad = Mojo::Server::Hypnotoad->new;
$hypnotoad->run('/home/martin/PokusApp/script/runapp'); # Line 7!
- or download this
#!/usr/bin/perl
use strict;
use warnings;
...
require Mojolicious::Commands;
Mojolicious::Commands->start_app('PokusApp');