Re: [Catalyst] catalyst psgi behind 2 apache reverse proxies

2015-07-08 Thread Aristotle Pagaltzis
* Bernhard Bauch [2015-07-08 16:50]: > suroundings: catalyst, psgi, starman, apache2. > but in our setup there are *two* apache2s doing reverse proxies before > the requests reaches the starman server. > > so what happend: > > the http headers look like this (for catalyst) > X-FORWARDED-FOR:

[Catalyst] A Catalyst::Plugin::Session Alternative: Web::Starch

2015-07-08 Thread Aran Deltac
Hey guys, I've been working on a project which is a (mostly) drop in replacement for Catalyst::Plugin::Session. Here are the GitHub repos: https://github.com/bluefeet/Web-Starch https://github.com/bluefeet/Web-Starch-Store-CHI https://github.com/bluefeet/Web-Starch-Store-AmazonDynamoDB https://g

Re: [Catalyst] catalyst psgi behind 2 apache reverse proxies

2015-07-08 Thread Bernhard Bauch
sorry. s =~ /less/ful/ On 08 Jul 2015, at 16:55, Bernhard Bauch wrote: > Ahh yes, sure i have. > otherwise $c->uri_for would not produce useless urls. > > > On 08 Jul 2015, at 16:51, Robert Brown wrote: > >> Do you have... >> >> __PACKAGE__->config( >> using_frontend_proxy => 1, >> ); >

Re: [Catalyst] catalyst psgi behind 2 apache reverse proxies

2015-07-08 Thread Bernhard Bauch
Ahh yes, sure i have. otherwise $c->uri_for would not produce useless urls. On 08 Jul 2015, at 16:51, Robert Brown wrote: > Do you have... > > __PACKAGE__->config( > using_frontend_proxy => 1, > ); > > ? > > > On 07/08/2015 03:46 PM, Bernhard Bauch wrote: >> dear all, >> >> another dep

Re: [Catalyst] catalyst psgi behind 2 apache reverse proxies

2015-07-08 Thread Robert Brown
Do you have... __PACKAGE__->config( using_frontend_proxy => 1, ); ? On 07/08/2015 03:46 PM, Bernhard Bauch wrote: dear all, another deployment question :) suroundings: catalyst, psgi, starman, apache2. but in our setup there are *two* apache2s doing reverse proxies before the requests r

[Catalyst] catalyst psgi behind 2 apache reverse proxies

2015-07-08 Thread Bernhard Bauch
dear all, another deployment question :) suroundings: catalyst, psgi, starman, apache2. but in our setup there are *two* apache2s doing reverse proxies before the requests reaches the starman server. so what happend: the http headers look like this (for catalyst) X-FORWARDED-FOR: ,

Re: [Catalyst] Regex dispatch type is deprecated

2015-07-08 Thread John Napiorkowski
Hey, As far as I see this controller still works (I didn't even know about it...) It seems to do something a little different from the built in, which is it seems to want to return error messages (I can't really tell to be honest). The built in support will just fail to match, so if you want

Re: [Catalyst] Regex dispatch type is deprecated

2015-07-08 Thread Craig Chant
Hi Jon, Does that mean we shouldn't be using : http://search.cpan.org/~phaylon/Catalyst-Controller-Constraints-0.10_02/lib/Catalyst/Controller/Constraints.pm Either? Craig. -Original Message- From: John Napiorkowski [mailto:jjn1...@yahoo.com] Sent: 07 July 2015 19:51 To: The elegant MV

Re: [Catalyst] Regex dispatch type is deprecated

2015-07-08 Thread Dmitry Karasik
John, Thank you very much! That was exactly what I needed On Tue, Jul 07, 2015 at 06:51:08PM +, John Napiorkowski wrote: > Dmitry, > > You can use the Regexp Dispatcher on CPAN, for legacy code. There is no plan > to stop supporting it, unless we hit a point where we can't support it when