« Return to Thread: adding my_app_name to action paths

Re: adding my_app_name to action paths

by J. Shirley :: Rate this Message:

Reply to Author | View in Thread

On Wed, Jul 1, 2009 at 8:43 AM, Mike Glen <mike.glen@...> 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 instructions at http://dev.catalyst.perl.org/wiki/adventcalendararticles/2008/02-catalyst_and_nginx
I can get the requests passed through to catalyst running the http::prefork engine but I haven't found a simple way to add my_app_name to the beginning of each action's path.

Is there a simple way to do this?

I'd like to be able to do this in the config file if possible

Thanks
 

It should happen automatically, provided you have set the "using_frontend_proxy" option.  Are you setting that correctly?

-J

_______________________________________________
List: Catalyst@...
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@.../
Dev site: http://dev.catalyst.perl.org/

 « Return to Thread: adding my_app_name to action paths