Re: Setting LD_LIBRARY_PATH for a forked process

2009-01-09 Thread Heiko Jansen
Am Freitag, den 09.01.2009, 10:25 +0100 schrieb Torsten Foertsch: > On Fri 09 Jan 2009, Raymond Wan wrote: > > It is possible I'm doing something wrong, but so far, this isn't > > working. And if I replace the $cmd with a Perl script and try to > > print out $ENV{LD_LIBRARY_PATH}, there is nothin

Re: $r->connection->remote_ip with proxy and non proxy env

2008-10-09 Thread Heiko Jansen
Am Mittwoch, den 08.10.2008, 10:06 -0700 schrieb Fred Moyer: > You could also do something like: > > if (my $ip = $r->headers_in->{'X-Forwarded-For'}) { > > $r->connection->remote_ip( $ip ); > } But (as I learned the hard way long ago) you should check the value of the X-Forwarded-For hea

Re: Apache2::Request undefined symbol

2008-07-07 Thread Heiko Jansen
Am Montag, den 07.07.2008, 08:31 +1000 schrieb Paul Cameron: > I installed the library package 'libapreq2' on an Ubuntu 7.10 distro, > and tried dereferencing the 'Apache2::Request' module in a mod_perl > script, but it crashed with '/usr/sbin/apache2: symbol lookup error: > > /usr/lib/perl5/au

Re: Syntax error in mod_perl but not in shell command

2008-05-29 Thread Heiko Jansen
As far as I understand it, mod_perl will eval{} the code it's going to run and in the paragraph "Limitations" on http://search.cpan.org/~rgarcia/Switch-2.13/Switch.pm we're told that "Due to the way source filters work in Perl, you can't use Switch inside an string eval.". heiko

Re: mod_perl V 2.0.4 and undefined symbol: boot_DynaLoader

2008-05-19 Thread Heiko Jansen
Am Montag, den 19.05.2008, 19:34 +1000 schrieb Ron Savage: > of /home/ron/httpd/prefork/conf/httpd.conf: Cannot > load /home/ron/httpd/prefork/modules/mod_perl.so into > server: /home/ron/httpd/prefork/modules/mod_perl.so: undefined symbol: > boot_DynaLoader > <===8><===> > > I did not find any r

Re: Net-SSLeay-1.32 Confusion

2008-03-28 Thread Heiko Jansen
Am Freitag, den 28.03.2008, 12:23 -0500 schrieb [EMAIL PROTECTED]: > Hello Folks, > > OpenCA tells me I need IO:Socket::SSL which apparently needs > Net::SSLeay. Installing Net::SSLeay from the interactive CPAN > utility fails. So I downloaded Net-SSLeay-1.32. At the top of the > README fo

Re: Running Perl::Critic on Web App?

2008-03-27 Thread Heiko Jansen
Am Donnerstag, den 27.03.2008, 06:30 -0700 schrieb amiribarksdale: > I am trying to tighten up the code in a web application I have made--I run > HTML::Mason and mod_perl--and I was trying to figure out how to run > Perl::Critic or some other diagnostic tool on the whole thing, so that it > would

Re: libperl.so Missing

2008-03-26 Thread Heiko Jansen
Am Mittwoch, den 26.03.2008, 12:17 -0500 schrieb [EMAIL PROTECTED]: > On 26/Mar/2008 12:12 Heiko Jansen wrote .. > > Did you really build a shared library? > > > > ./Configure should have asked you if you want to build a static perl or > > a shared object/library >

Re: libperl.so Missing

2008-03-26 Thread Heiko Jansen
Did you really build a shared library? ./Configure should have asked you if you want to build a static perl or a shared object/library Heiko Am Mittwoch, den 26.03.2008, 12:06 -0500 schrieb [EMAIL PROTECTED]: > Hello Folks, > > I have searched and re-installed stuff and cannot find the answer.

Re: proxy question

2008-01-31 Thread Heiko Jansen
Am Donnerstag, den 31.01.2008, 11:31 + schrieb Martin Moss: > does mod_proxy provide more than round robin load balancing > functionlity? I'd been told it could, but I can't find anything in the > docs.. Actually this is not the right place to ask about other httpd modules than mod_perl, b

Re: compiling problems with mod_perl 2.0.3 and Apache 2.2.6

2008-01-21 Thread Heiko Jansen
Am Montag, den 21.01.2008, 23:12 -0800 schrieb Philippe M. Chiasson: > Yes, but mod_perl 2.0.3 and Perl 5.10 should at least _build_, just > possibly exhibit unnatural behaviour at runtime... No - at least not for me (Solaris 10, 64Bit, Sun cc): 2.0.3 won't build at all unless I copy "src/module

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Heiko Jansen
>>> Alx G <[EMAIL PROTECTED]> 21.01.08 17.25 Uhr >>> > If I output the value of > $ENV{'mod_perl'} it shows mod_perl/2.0.2 (or something like that), so I > believe that shows it's not running as plain cgi. Yep, looks good. I've no experience with Apache::DB - so apart from one last excerpt from t

Re: Apache::DProf giving empty tmon.out files

2008-01-21 Thread Heiko Jansen
Am Montag, den 21.01.2008, 06:19 -0800 schrieb Alx G: > No worries. For the record, I just tried putting the DB->init before > everything else (after loading mod_perl obviously) in the conf - no joy > though. The Apache::DB POD mentions using "use APR::Pool ();" right before "use Apache::DB ();"

Re: compiling problems with mod_perl 2.0.3 and Apache 2.2.6

2008-01-17 Thread Heiko Jansen
Am Freitag, den 18.01.2008, 15:47 +1030 schrieb James Breat: > I am having problems a static mod_perl with Apache 2.2.6 and > Perl 5.10.0. Essentially, the answer you need is: Don't use mod_perl2 and Perl 5.10.0 together yet. As far as I know, the mod_perl developers are working on resolving the i

mod_perl, Perl 5.10, Apache 2.2.6 => Tests fail

2007-12-25 Thread Heiko Jansen
Hi *. I'm having trouble getting mod_perl to work with Perl 5.10 and Apache 2.2.6 on Solaris 64Bit/SPARC using Sun cc (Sun C 5.8 2005/10/13), compiling as 64Bit app. This applies to both mod_perl 2.0.3 and the latest (as of today) mod_perl/2.0.4-dev. 2.0.3 won't build at all unless I copy "src/mo