I'm trying to log username authenticated throught ldap into a log
file, and I use Apache/mod_perl.
In 5.8
$c-apache-user( $username );
works, which doesn't work in 5.9.
I checked source code of relevant modules like
Catalyst
Catalyst::EngineLoader
Catalyst::Upgrading
It seems like that
wrote:
Hailin == Hailin Hu i...@h2l.name writes:
Hailin Finally, something like below works for me.
Hailin my $apache = $c-engine-env-{'psgi.input'}; #
Hailin Apache2::RequestRec $apache-user( $username );
Hailin I supposed that an accessor of apache should be a method
I'm afraid only Catalyst::Engine::CGI cares about X-Forwarded-Port as
described in the doc.
You can try to write your own uri_for() to use X-Forwarded-Port.
On Tue, Jul 24, 2012 at 3:22 PM, Alex Povolotsky tark...@over.ru wrote:
On 07/23/12 21:52, Tomas Doran wrote:
On 23 Jul 2012, at 08:48,
http://perl.apache.org/docs/2.0/user/config/config.html#C_modperl_
modperl doesn't set %ENV like CGI be default. you can use PerlPassEnv.
On Sun, Jul 29, 2012 at 11:48 PM, linuxsupport lin.supp...@gmail.com wrote:
Yes
PassEnv GEOIP_COUNTRY_CODE
I dumped the %ENV, and got following
[debug]
Are you sure GEOIP_COUNTRY_CODE does exist?
On Mon, Jul 30, 2012 at 12:18 AM, linuxsupport lin.supp...@gmail.com wrote:
I tried PerlPassEnv GEOIP_COUNTRY_CODE
but still not getting it in %ENV
On Sun, Jul 29, 2012 at 8:39 PM, Hailin Hu i...@h2l.name wrote:
http://perl.apache.org/docs/2.0
It is an engine relevant stuff.
Find which engine you are using ( for example, Plack::Handler::FCGI )
and look around codes around write(r), you may find something.
Good luck :)
On Wed, Oct 30, 2013 at 9:51 AM, Daniel J. Luke dl...@geeklair.net wrote:
I've got some legacy CGI code that does a
You can't get the content directly. The file uploaded is saved in the
tmp directory. See doc below:
http://search.cpan.org/~jjnapiork/Catalyst-Runtime-5.90061/lib/Catalyst/Request/Upload.pm
On Fri, Apr 18, 2014 at 5:45 PM, Chakkit Ngamsom chak...@ibiz.co.th wrote:
Hi All,
I’ve trouble when