Re: [Catalyst] adding my_app_name to action paths

2009-07-03 Thread Mike Glen
J. Shirley wrote: Sorry for no responding yesterday, had a full day. You can set the proxy header directly, just using: proxy_set_header SCRIPT_NAME /my_app/; That should do the trick, but may be missing something. I have a working config on a system that is currently sitting in an Apple st

Re: [Catalyst] adding my_app_name to action paths

2009-07-03 Thread Mike Glen
J. Shirley wrote: On Wed, Jul 1, 2009 at 8:43 AM, Mike Glen <mailto:mike.g...@mindsweep.net>> wrote: I'm trying to setup a catyst app to run behind nginx so that the app is accessed at http://my.server.com/my_app_name/ I have set this up following instruction

Re: [Catalyst] adding my_app_name to action paths

2009-07-02 Thread Mike Glen
J. Shirley wrote: It should happen automatically, provided you have set the "using_frontend_proxy" option. Are you setting that correctly? -J I have tried putting using_frontend_proxy 1 in myapp.conf and also __PACKAGE__->config( name => 'MyApp', 'using_frontend_proxy' => 1 ) in MyApp.pm N

[Catalyst] adding my_app_name to action paths

2009-07-01 Thread Mike Glen
I'm trying to setup a catyst app to run behind nginx so that the app is accessed at http://my.server.com/my_app_name/ I have set this up following instructions at http://dev.catalyst.perl.org/wiki/adventcalendararticles/2008/02-catalyst_and_nginx I can get the requests passed through to catalyst

Re: [Catalyst] script/myapp_server -r Can't exec "/usr/bin/perl" every 3 or 4 restarts

2009-04-27 Thread Mike Glen
Matt S Trout wrote: On Thu, Apr 23, 2009 at 09:51:59AM +0100, Mike Glen wrote: I think it might be due to line 335 in HTTP.pm 335 $ENV{PERL5LIB} .= join $Config{path_sep}, @INC; Hmm. That's to try and make sure -I calls on the original perl invocation get included. I

Re: [Catalyst] script/myapp_server -r Can't exec "/usr/bin/perl" every 3 or 4 restarts

2009-04-23 Thread Mike Glen
Erik Wasser wrote: On Wednesday 22 April 2009, Mike Glen wrote: I'm running the catalyst server (script/myapp_server) using the -r option to restart after changes are made but after every 3 or 4 restarts i get the error message Can't exec "/usr/bin/perl": Argument list

[Catalyst] script/myapp_server -r Can't exec "/usr/bin/perl" every 3 or 4 restarts

2009-04-22 Thread Mike Glen
I'm running the catalyst server (script/myapp_server) using the -r option to restart after changes are made but after every 3 or 4 restarts i get the error message Can't exec "/usr/bin/perl": Argument list too long at /usr/lib/perl5/site_perl/5.8.5/Catalyst/Engine/HTTP.pm line 337. Does anyo