Re: Mod_Perl Problem

2005-10-17 Thread vivek
Hello budddy, I am new to modperl too but i think you have to specify a loadmodule as LoadModule perl_module modules/mod_perl.so Then it will recognise all the modperl directives. Perhaps that might help. With warm regards. Vivek J. Joshi. [EMAIL PROTECTED] Trikon electronics Pvt. Ltd. -

Re: Error:- failed to resolve handler `Apache::PerlRun'

2005-10-17 Thread Fred Moyer
[EMAIL PROTECTED] wrote: Dear Friends, I am encountering a strange problem with my mod perl 2 Can you specify the exact version you're using? (i.e. 2.0.1 ) PerlHandler Apache::PerlRun and it gives me the following error as soon as I start the server:- [Mon Oct 17 12:20:54 2005]

Error:- failed to resolve handler `Apache::PerlRun'

2005-10-17 Thread vivek
Dear Friends, I am encountering a strange problem with my mod perl 2. I have installed mod perl 2 on apache and its using perl-5.8.6. I am using a server with two AMD 64 bit processors and 4 GB RAM. Initially I was using perl 5.8.6 in /usr/local/bin/perl configured with static Dynaloader whic

Re: Error while using Apache2::Reload

2005-10-17 Thread Philip M. Gollucci
Boysenberry Payne wrote: I'm getting the following error while trying to use Apache2::Reload on Apache/2.0.55 (Unix) PHP/5.0.5 DAV/2 mod_apreq2-20050712/2.5.2-dev mod_perl/2.0.2-dev Perl/v5.8.7 Can't locate mod_perl.pm in @INC (@INC contains: /Users/boysie/mod_perl_inc /opt/local/lib/perl5/5.

Off Topic - Apache::Session::MySQL and invalid Session IDs

2005-10-17 Thread Jonathan
I'm hoping someone here has a suggestion- I wrote my mod_perl app with Session::File (local development) and am migrating it to Session::MySQL so it could cluster I ran into this issue: If I try to tie with a session id that doesn't exist in the db, the app catches an Apache::Session d

Re: [RELEASE CANDIDATE] mod_perl-2.0.2 RC2

2005-10-17 Thread Joe Schaefer
"Philip M. Gollucci" <[EMAIL PROTECTED]> writes: > http://people.apache.org/~pgollucci/mp2/mod_perl-2.0.2-RC2.tar.gz +1, tested on debian-amd64. -- Joe Schaefer

Error while using Apache2::Reload

2005-10-17 Thread Boysenberry Payne
I'm getting the following error while trying to use Apache2::Reload on Apache/2.0.55 (Unix) PHP/5.0.5 DAV/2 mod_apreq2-20050712/2.5.2-dev mod_perl/2.0.2-dev Perl/v5.8.7 Can't locate mod_perl.pm in @INC (@INC contains: /Users/boysie/mod_perl_inc /opt/local/lib/perl5/5.8.7/darwin-2level /opt/lo

Re: Off Topic - Apache::Session::MySQL and invalid Session IDs

2005-10-17 Thread Perrin Harkins
On Mon, 2005-10-17 at 14:18 -0400, Jonathan wrote: > I ran into this issue: > > If I try to tie with a session id that doesn't exist in the db, > the app catches an Apache::Session die The standard approach here is to eval{} that and if it throws an exception you check to see if it's the on

Off Topic - Apache::Session::MySQL and invalid Session IDs

2005-10-17 Thread Jonathan
I'm hoping someone here has a suggestion- I wrote my mod_perl app with Session::File (local development) and am migrating it to Session::MySQL so it could cluster I ran into this issue: If I try to tie with a session id that doesn't exist in the db, the app catches an Apache::Session die

Re: Apache::DBI Question

2005-10-17 Thread Jonathan
a) perrin, thanks again. I checked the DBI pod and source, and couldn't elucidate the info that i needed. some of the source is above my skillset still. b) Here is some: http://modperlbook.org/html/ch01_02.html saw that in the print version. there's a bit in the devel cookbook too, but n

Re: PerlCleanupHanlder not called when user clicks on STOP in browser.

2005-10-17 Thread Perrin Harkins
On Mon, 2005-10-17 at 11:45 -0400, Richard F. Rebel wrote: > DBG is an already open auto-flushed file handle. The AuthzHandler > prints to it, other invocations of cleanup handler print to it, and only > when user presses stop do we not ever the output from this line. I suggest you print to STDER

Re: PerlCleanupHanlder not called when user clicks on STOP in browser.

2005-10-17 Thread Richard F. Rebel
On Mon, 2005-10-17 at 11:31 -0400, Perrin Harkins wrote: > It sounds like you're jumping to conclusions to me. The cleanup handler > does execute, even when the user presses stop, unless something > catastrophic is happening like an actual segfault. > > My guess would be that something is going

Re: PerlCleanupHanlder not called when user clicks on STOP in browser.

2005-10-17 Thread Perrin Harkins
On Mon, 2005-10-17 at 11:16 -0400, Richard F. Rebel wrote: > When a user starts a program which takes a few seconds to run, and you > hit the stop button, then start another, the user is denied, which is > correct behavior. The problem is that the lock is never removed as the > cleanup handler nev

Re: PerlCleanupHanlder not called when user clicks on STOP in browser.

2005-10-17 Thread Richard F. Rebel
Maybe some more information would be useful here. We have a couple hundred old reporting CGI's. We have a bunch of users whom sometimes think they run too slow so either it the stop button on the browser, or they are the type to double click on buttons or links causing multiple copies to run. T

Re: Apache::DBI Question

2005-10-17 Thread Perrin Harkins
On Mon, 2005-10-17 at 10:27 -0400, Jonathan wrote: > perrin: great - i couldn't find any documentation on this! The Apache::DBI source is short and simple, so don't be afraid to read it if you are wondering about how it handles something. (Not that you shouldn't ask questions, but reading the sou

Re: Apache::DBI Question

2005-10-17 Thread Philip M. Gollucci
Jonathan wrote: perrin: great - i couldn't find any documentation on this! thanks a ton. all: can i wishlist some more documentation on the forking process You write it, I'll commit it :) -- END What doesn't kill us can only mak

NNTP Apache Gateway.

2005-10-17 Thread Yu, Ming
Does any one know how to make this module to work in mod_perl ? http://search.cpan.org/~boubaker/Apache-NNTPGateway-0.9/NNTPGateway.pm - Ming Yu Johns Hopkins University Applied Physics Lab

Re: Apache::DBI Question

2005-10-17 Thread Jonathan
perrin: great - i couldn't find any documentation on this! thanks a ton. all: can i wishlist some more documentation on the forking process maybe something like the compression faq, where we go into detail about exactly when where why you do things before/after the fork, show some more exam

Mod_Perl Problem

2005-10-17 Thread Yu, Ming
I am new to mod_perl. I installed mod_perl version 1.29 with apache 1.3.33, and created the following section under apache httpd.conf: SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On Allow from all When I run http://hostnamer/perl/ from

Re: docs on coexisting MP1 and MP2?

2005-10-17 Thread Philip M. Gollucci
Geoffrey Young wrote: I'm still a little curious if there are any pitfalls to having both installed on the same machine there shouldn't be, provided you use a recent version and don't override the checks in Makefile.PL. The only big gotcha I can think of would be constants if you want the sam

Re: docs on coexisting MP1 and MP2?

2005-10-17 Thread Geoffrey Young
> I'm still a little curious if there are any pitfalls to having both > installed on the same machine there shouldn't be, provided you use a recent version and don't override the checks in Makefile.PL. --Geoff