I agree, but the "out of box" app-script is not working with my app as it
should.
The script by default contains:
use FindBin;
BEGIN { unshift @INC, "$FindBin::Bin/../lib" }
And I tried:
use lib '/mojoapp/portal/lib';
Same behavior as before, lots of 404s.
On Tuesday, May 13, 2014 5:24:50 PM UTC-4, Helmut Wollmersdorfer wrote:
>
>
>
> Am Montag, 12. Mai 2014 15:38:47 UTC+2 schrieb Andy O:
>>
>> Problem solved! Adding PerlSwitches -I/path/to/mojoapp/lib outside of
>> the VirtualHost block in the Apache config fixes the issue.
>>
>
> That's not the best solution. If you set the lib in your app-script
> /mojoapp/portal/script/portal
> then you can benefit from the flexibility of PLACK, i.e you can run it
> from the console, from t/, within build, with other servers etc.
>
--
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.