RE: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-21 Thread Charlie Smith
Try setting perl env inside apache config. Example: SetEnv PERL5LIB "/usr/lib/5.10.0: /usr/lib/additionalPerlInstallArea" You also should have LoadModule perl_module modules/mod_perl.so grep for mod_perl in the Apache error_log file? you'll see line indicating that mod_perl resuming norma

XML::DOM no compile

2006-05-31 Thread Charlie Smith
Using cpan shell or webmin, I get following errro on attempt install XML::DOM, so the whole install blows up. Failed Test Stat Wstat Total Fail Failed List of Failed --- t/dom_jp_print.t31 33.3

Re: Mail::POP3Client and pdf decode

2006-05-31 Thread Charlie Smith
Using cpan shell or webmin, I get following errro on attempt install XML::DOM, so the whole install blows up. Failed Test Stat Wstat Total Fail Failed List of Failed --- t/dom_jp_print.t31 33.3

Mail::POP3Client and pdf decode

2006-04-06 Thread Charlie Smith
I'm trying to decode an email that was pop'd. After writing the body to a disk file using the perl Mail::POP3Client routine $pop->BodyToFile( $fh, 1); It looks all like text. So, I run following command to translate body of mime message back to pdf for reading. perl -MMIME::Base64 -ne 'print decod

[mp1] session variables - how to use?

2004-06-29 Thread Charlie Smith
What is recommended way to get/set session variables? Is there a recommended package to use with examples please? Currently am using Apache/1.3.28 (Unix) mod_perl/1.28 PHP/4.3.1 mod_ssl/2.8.15 OpenSSL/0.9.7d but plan on moving to Apache 2 at some time. Charlie ;) "Postmaster" made the followin

Re: [mp2] Server variables available to other programs?

2004-03-17 Thread Charlie Smith
blems with Global hashes not being available. changing directories in scripts also not working. And, a lot more stringent requirements for code to not break. Keep up the good work. :) >>> "Stas Bekman" 3/15/2004 5:05:44 PM >>> Charlie Smith wrote: > It would s

[mp2] Server variables available to other programs?

2004-03-15 Thread Charlie Smith
It would seem that some Server variables, when run under mod_perl are not being set or made available to other programs - ie. php's HTTP_SERVER_VAR['PHP_AUTH_USER']. Any ideas? I've a php program that is being called via command line from a PERL script. Running without mod_perl turned on, the

Re: [mp2] RegistryCooker.pm reporting argument isn't numeric.

2004-03-15 Thread Charlie Smith
f local() types where they were reset to my() types. Thanks for your clue as to possible problem with stats, that got me thinking that I should use 'use strict' and isolate all possible syntax gotchas. >>> "Charlie Smith" 3/15/2004 2:36:05 PM >>> >>&g

Re: [mp2] RegistryCooker.pm reporting argument isn't numeric.

2004-03-15 Thread Charlie Smith
>>> "Stas Bekman" 3/15/2004 1:28:36 PM >>> Charlie Smith wrote: > > Bug Report: > -8<-- Start Bug Report 8<-- > 1. Problem Description: [mp2] RegistryCooker.pm reporting argument isn't > numeric. &g

[mp2] RegistryCooker.pm reporting argument isn't numeric.

2004-03-15 Thread Charlie Smith
Bug Report: -8<-- Start Bug Report 8<-- 1. Problem Description: [mp2] RegistryCooker.pm reporting argument isn't numeric. With mod_perl turned on I'm getting following error on invokation of a PERL script that yeilds no such warning with mod_perl turned

Re: [mp2] $ENV{MOD_PERL}

2004-03-15 Thread Charlie Smith
ers >>> "Perrin Harkins" <[EMAIL PROTECTED]> 3/13/2004 5:03:58 PM >>> Charlie Smith wrote: > Trying to include a file with the require statement in the t/My/Bug.pm file > did not work. I was hoping to show how changing path from absolute to > relative &g

[mp2] RegistryCooker.pm error line 168 and 775

2004-03-13 Thread Charlie Smith
p trace: (if you get a core dump):     [CORE TRACE COMES HERE]   This report was generated by t/REPORT on Sat Mar 13 23:44:27 2004 GMT.   -8<-- End Bug Report --8<--   Note: Complete the rest of the details and post this bug report todev perl.apac

Re: [mp2] $ENV{MOD_PERL}

2004-03-13 Thread Charlie Smith
20:49 2004] [error] [client 127.0.0.1] /home/smithcw/bug-reporting-skeleton-mp2/t/My/relative.pl did not return a true value at /home/smithcw/bug-reporting-skeleton-mp2/t/My/Bug.pm line 14. I guess it wouldn't hurt my feelings to change subject of this to something like [mp2] require &

Re: [mp2] $ENV{MOD_PERL}

2004-03-13 Thread Charlie Smith
I understand.  I was serious about the postings being very funny ;) I've followed this list for over a year now.  Thanks for the kind words.   And kidding about 'ganging up'  ;0) >>> "Cees Hek" <[EMAIL PROTECTED]> 03/13/04 09:44AM >>>Charlie

Re: [mp2] $ENV{MOD_PERL}

2004-03-13 Thread Charlie Smith
Very funny.  You guys are ganging up on me.   What ever the count is, I get the point.>>> "Stas Bekman" <[EMAIL PROTECTED]> 03/12/04 05:42PM >>>Geoffrey Young wrote:>>It should be there. If it's not, then we need to be able to reproduce it>>and you need to help us to do that.> > > I just tes

Re: httpd.conf directives for mod_perl under Apache2

2004-03-12 Thread Charlie Smith
;[ please keep it on the list ]On Fri, 2004-03-12 at 17:02, Charlie Smith wrote:> I guess I never know how to configure mod_perl without using the Files> tag, although experimented quite a bit trying to find out.   I've> searched the docs you mention and tried some things, but

Re: httpd.conf directives for mod_perl under Apache2

2004-03-12 Thread Charlie Smith
mod_php when I was building under Apache 1.  It mentioned a specific order that had to be followed during the build.  Is there a similar and current doc somewhere that would pertain to Apache 2 and the current mp2 and php modules.           >>> "Charlie Smith" 03/12/04 12:13PM

Re: perl to modperl transition problems

2004-03-12 Thread Charlie Smith
still needed? If so, what would the syntax be?  In MP1 I used following:    SetHandler perl-script   PerlHandler Apache::Registry    Options ExecCGI   PerlSendHeader ON >>> "Stas Bekman" <[EMAIL PROTECTED]> 03/11/04 05:12PM >>>Charlie Smith wrote:> In transiti

Re: perl to modperl transition problems

2004-03-11 Thread Charlie Smith
In transitioning to mod_perl 1.99_13 I have a couple question. Today, I got mod_perl built into Apache 2. However, I would expect to be able to actually get the mod_perl working. I used to be able to see if it was actually running by looking at the GATEWAY_INTERFACE. (reference: to see GATE

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-10 Thread Charlie Smith
What is recommended way to build this into apache. We'll need mod_rewrite, mod_perl (with DBD::Oracle), mod_php (with Oracle and mysql), mod_ssl. I believe mod_dav comes with Apache 2. Should above all work together? And what would be recommended way to build -static or with DSOs? >>> "Stas B

Re: [RELEASE CANDIDATE] please test mod_perl-1.99_13-dev.tar.gz

2004-03-08 Thread Charlie Smith
Is this the mod_perl version we should be using with Apache 2 then?  Assuming all tests go well?  What is fate of mp2 at this time?   Is it near production level yet?>>> "Stas Bekman" <[EMAIL PROTECTED]> 03/05/04 07:46PM >>>A release candidate for mod_perl-1.99_13 is available:http://apache.

Favorite WYSIWYG editor?

2004-02-10 Thread Charlie Smith
I've got some users that would like to have a WYSIWYG editor that can be used to reference .jsp files so that as they edit their html, they can see output from .jsp objects in their design. Editor should be free or cheap. Any ideas. Or is there a better forum to post this kind of question? If

Re: conference talks

2004-02-05 Thread Charlie Smith
Sounds great. I'd be very interested in how to scale PERL. What are some of the large sites that do this, for example? >>> "Perrin Harkins" 2/4/2004 10:06:31 AM >>> Thanks to everyone who sent feedback. Looks like I'll be submitting a talk on building scalable sites! And yes, I will certainl

Re: conference talks

2004-02-05 Thread Charlie Smith
Sounds great. I'd be very interested in how to scale PERL. What are some of the large sites that do this, for example? >>> "Perrin Harkins" <[EMAIL PROTECTED]> 2/4/2004 10:06:31 AM >>> Thanks to everyone who sent feedback. Looks like I'll be submitting a talk on building scalable sites! And ye

Re: Subroutine main redefined at ...

2003-12-29 Thread Charlie Smith
em to have stopped. >>> "Ged Haywood" wrote on 12/24/03 01:54AM >>> Hello there, On Tue, 23 Dec 2003, Charlie Smith wrote: > When running a .pl script from browser, an error message in the > apache log indicates that the subroutines have already been defined.

Subroutine main redefined at ...

2003-12-23 Thread Charlie Smith
When running a .pl script from browser, an error message in the apache log indicates that the subroutines have already been defined. I assume this is because mod_perl or apache or the server has cached this subroutine. How to keep this message from appearing in the log?

How to get username and password with mod_perl?

2003-12-08 Thread Charlie Smith
from, so I can use the credentials of the user. Trouble is, I'm not sure how to grab the username and password. If in php you can just reference the http_server_vars['php_auth_user'] and http_server_vars['php_auth_passwd']. How is this done with mod_perl? >>>

In one scenario, I'll redirect the user to another page using LWP. So, I'd like to get the user cre

2003-12-01 Thread Charlie Smith
In one scenario, I'll redirect the user to another page using LWP. So, I'd like to get the user credentials in order to authenticate the user. Does PERL have a way to get the credentials from an HTTP_SERVER_VARS hash or from the httpd password file (decrypted password)? Also, is there a way t