patch for Apache2::SizeLimit under solaris 10

2010-12-06 Thread Brett @Google
Hello, Here is a patch for Apache2::SizeLimit under solaris 10, apache 2.2, unthreaded prefork model : diff -c ./mod_perl-2.0.4/blib/lib/Apache2/SizeLimit.pm ./SizeLimit.pm *** ./mod_perl-2.0.4/blib/lib/Apache2/SizeLimit.pm Mon Dec 6 15:59:43 2010 --- ./SizeLimit.pm Mon Dec 6 18:41:0

Re: mod_perl-2.0.4 for Apache httpd-2.2.17 on Solaris10 64bit - ld: wrong ELF class: ELFCLASS64 - CC="gcc -m64"

2010-12-08 Thread Brett @Google
The error means you are trying to link a 64 bit library with a 32 bit one, at link time (the error comes from ld, which is the linker). Setting -L in CFLAGS sets /usr/sfw/lib/sparcv9 at compile (not link time) Setting -R in CFLAGS sets /usr/sfw/lib/sparcv9 at run time. None of these help with lin

apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
Hi All, Apache 2.4.x seems to have changed / deprecated things.. things i have noticed : in ./src/modules/perl/modperl_constants.c if OPT_INCNOEXEC is not present, as OPT_INCNOEXEC is now OPT_INCLUDES c->remote_ip gone, and now split into c->client_ip (tcp endpoint) and c->useragent_ip (e.g. X-F

Re: apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
t;Development" links.. with a disclaimer that is is not release quality ? Cheers Brett 2012/3/14 Torsten Förtsch : > On Wednesday, 14 March 2012 19:35:40 Brett @Google wrote: >> Apache 2.4.x seems to have changed... > > You are very welcome to work on the httpd 2.4 port. But ple

Re: apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
che/TestRun.pm line 1100. I am just using the current apr/apr-util, do i need a special one ? Cheers Brett 2012/3/14 Brett @Google : > I don't want to re-invent the wheel, i was just poking around in the > trunk.. but didn't know there was a 2.4 branch :) > > I could not see

Re: apache 2.4.x and mod_perl 2.0

2012-03-14 Thread Brett @Google
gt;remote_ip gone, and now split into c->client_ip (tcp endpoint) and c->useragent_ip (e.g. X-Forwarded-For) Maybe some logic like : if ($c->useragent_ip exists) then ($ip=$c->useragent_ip) else ($ip=c->client_ip) ? Cheers Brett 2012/3/15 Brett @Google : > I checked it out and

Re: Modperl support for Apache 2.4

2012-10-06 Thread Brett @Google
There is already a fork for this : http://svn.apache.org/repos/asf/perl/modperl/branches/httpd24 I have not tried it, personally.. but many people have. On Sat, Oct 6, 2012 at 2:02 AM, Hong Ye wrote: > Hi, > > Does anyone know when mod_perl will be available to download for Apache > 2.4? > > Th