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
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
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
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
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
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
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
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
>>> "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
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
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
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
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 &
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
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
;[ 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
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
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
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
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
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.
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
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
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
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.
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?
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 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
28 matches
Mail list logo