Hello,

I wish there was an easy way to configure a "base_path" for Mojolicious 
without having to modify the application's code.

Today the only ways to modify the base_path is to use a before_dispatch 
hook or to use a plugin like M::P::RequestBase.

But when you are use a Mojo application from CPAN like mojopaste, you are 
not supposed to modify it. And anyway, a system administrator should not 
have to modify the application to deploy it the way he wants.

I think it would be great if we could set the base_path in the "listen" 
string like : listen => ['http://*/prefix:3000']

Or we could just add a "base_path" option.

Thanks!

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