Hi,

I am currently using Apache for my deployment because of a custom Apache 
auth module we use.  So my options (as I see them) are CGI and 
plack/mod_perl.  Everything was humming along just fine until I added a few 
more extra routes to the dozen or so I had, then seemingly at random I 
started getting 404s for routes that I KNOW work.  Restarting Apache would 
allow the app to work until I hit one of the new routes, which all seem 
valid and would work intermittently.  The app runs completely fine under 
CGI (and I would suspect it would run fine under say Hypnotoad as well, but 
have not tested yet...)

I've seen a *few* messages like these in the Apache error_log:

Apache2::RequestIO::print: (32) Broken pipe at 
/usr/share/perl5/Plack/Handler/Apache2.pm 
line 183
Versions:

# mojo version
CORE
  Perl        (v5.18.2, linux)
  Mojolicious (4.63, Top Hat)

OPTIONAL
  EV 4.0+               (4.15)
  IO::Socket::IP 0.16+  (0.25)
  IO::Socket::SSL 1.75+ (1.965)

# apache2 -v 
Server version: Apache/2.4.7 (Ubuntu)
Server built: Apr 3 2014 12:20:28

Config:

PerlOptions +Parent
<Perl>
 $ENV{PLACK_ENV} = 'production';
 $ENV{MOJO_HOME} = '/mojoapp/portal';
 $ENV{MOJO_MODE} = 'deployment';
</Perl>

<Location /app>
  SetHandler perl-script
  PerlResponseHandler Plack::Handler::Apache2
  PerlSetVar psgi_app /mojoapp/portal/script/portal
</Location>

Any ideas?

Thanks!
-Andy O

-- 
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.

Reply via email to