[OT] [ANNOUNCE] PPerl 0.04

2002-04-16 Thread Matt Sergeant
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is a wee bit off topic, but may still be of interest. PPerl 0.04 has been released to CPAN. What's PPerl you may ask? Well it's a persistent perl interpreter. It's quite similar in many ways to SpeedyCGI, except it doesn't require any

Help required

2002-04-16 Thread Murugan K
Hi I am new to mod_perl and i am developing some samples using mod_perl . While developing sample , i do not want to restart the server frequently with respect to my changes. So i used the$r-header_out(Pragma, no-cache); statement not to cache the results. i seems to be not

Re: Found a sprintf() bug inPerl 5.6.1 (and mod_perl)

2002-04-16 Thread Franck PORCHER
I think that if there is a bug, which i'm not convinced of (see below), it's likely to be int(), which may *first* be called by sprintf to cast the floating-point number into an integral format (%03d). Indeed if you run : perl -e '$a=0.57; print int($a * 100)' you get 0.56 . Now,

Re: Help required

2002-04-16 Thread Per Einar Ellefsen
At 10:41 16.04.2002, Murugan K wrote: Hi I am new to mod_perl and i am developing some samples using mod_perl . While developing sample , i do not want to restart the server frequently with respect to my changes. So i used the$r-header_out(Pragma, no-cache); statement not to cache

Re: Help required

2002-04-16 Thread Issac Goldstand
Murugan K wrote: Hi I am new to mod_perl and i am developing some samples using mod_perl . While developing sample , i do not want to restart the server frequently with respect to my changes. So i used the$r-header_out(Pragma, no-cache); statement not to cache the results. i

Re: Help required

2002-04-16 Thread Issac Goldstand
Issac Goldstand wrote: Murugan K wrote: Hi I am new to mod_perl and i am developing some samples using mod_perl . While developing sample , i do not want to restart the server frequently with respect to my changes. So i used the$r-header_out(Pragma, no-cache); statement not

Re:Help required

2002-04-16 Thread [EMAIL PROTECTED]
Hi I am new to mod_perl and i am developing some samples using mod_perl . While developing sample , i do not want to restart the server frequently with respect to my changes. So i used the$r-header_out(Pragma, no-cache); statement not to cache the results. i seems to be not

compiling modperl2 debug pb

2002-04-16 Thread [EMAIL PROTECTED]
hi winnt/perl 561 about the compiling error of mod_perl-1.99_01 in debug mode, the specific error is unresolved external _MP_debug_level when linking filter.dll this symbol is found in every .lo files of the src/modules/perl directory after the build process but in no source file isn't this

Re: Enforcing user logged in from only 1 browser?

2002-04-16 Thread Fran Fabrizio
Peter Bi wrote: If you touch SessionDBI for every request, why don't go directly to the Basic Authentication ? 1. You can't use a custom log in page 2. You can't log out unless you close your browser 3. It's for use by our employees only. They are told to enable cookies. =) -Fran

Re: compiling modperl2 debug pb

2002-04-16 Thread Stas Bekman
[EMAIL PROTECTED] wrote: hi winnt/perl 561 about the compiling error of mod_perl-1.99_01 in debug mode, the specific error is unresolved external _MP_debug_level when linking filter.dll this symbol is found in every .lo files of the src/modules/perl directory after the build

PerlRequire

2002-04-16 Thread Florence Dardenne
Hi, I've been search all the guides and never found the answer to next question : I have mod_perl 1.26 correctly installed with Apache 1.3.22. When I include in the httpd.conf file this kind of line Include /home/me/auto-apache.conf which has a PerlRequire command like PerlRequire

Re: PerlRequire

2002-04-16 Thread Perrin Harkins
Florence Dardenne wrote: Does mod_perl 1.26 includes the 'PerlRequire' functionality or do I need higher version ? All versions of mod_perl have that feature. You must not have mod_perl compiled into that server. See this entry in the guide:

PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread RRArul
Hello Friends, I am a newbie and had developed a proof-of-concept application on Apache 1.3.23/Mod_Perl-1.26-dev. We are researching into moving away from ASP/IIS Webapplications to Apache/Mod_Perl. I am stuck with the latest Apache 2.0.35 with the following problems. Today I installed

Re: PerlRequire

2002-04-16 Thread Per Einar Ellefsen
At 16:41 16.04.2002, Florence Dardenne wrote: Hi, I've been search all the guides and never found the answer to next question : I have mod_perl 1.26 correctly installed with Apache 1.3.22. When I include in the httpd.conf file this kind of line Include /home/me/auto-apache.conf which has a

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: I am a newbie and had developed a proof-of-concept application on Apache 1.3.23/Mod_Perl-1.26-dev. We are researching into moving away from ASP/IIS Webapplications to Apache/Mod_Perl. I am stuck with the latest Apache 2.0.35 with the following problems. Do you really

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Dave Rolsky
On Tue, 16 Apr 2002, Perrin Harkins wrote: [EMAIL PROTECTED] wrote: I am a newbie and had developed a proof-of-concept application on Apache 1.3.23/Mod_Perl-1.26-dev. We are researching into moving away from ASP/IIS Webapplications to Apache/Mod_Perl. I am stuck with the latest Apache

RE: Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread RRArul
Both the suppositions are right! To have the proof-of-concept working in Apache, I do have it working 100% under Apache 1.3.23/mod_perl-1.26. I had performed benchmark studies under IIS/ASP, Tomcat/JSP and Apache/MOD_PERL and have seen the best performance under Apache 1.3.23/Mod_Perl!

Looking for more information...

2002-04-16 Thread Marc Slagle
In the next few weeks our radio show might be tackling mod_perl as a topic. I've read everything on the perl.apache.org site (and followed the links from there to take23.org, etc.) I'vereadthe mod_perl articles on perl.comas well. My question is, are there any other less-obvious places to

Help Needed - RegistryCooker.pm -mod_perl-2 - Apache 2.0.35 -(ActivePerl 631)

2002-04-16 Thread Arul, Rex
I am not sure, if I should post it here: OS: Windows 2000; Perl:ActivePerl 631; Apache:2.0.35; Mod_Perl:1.99_01 downloaded via PPM under theorynx website. In the httpd.conf, I am making the Apache::Registry pointer to be Apache2::ModPerl::Registry. However, when my CGI script is run, I get

Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
Hello all. I'm trying to use Apache::DProf but all I get is seg faults. I put these lines in my httpd.conf: PerlModule Apache::DB PerlModule Apache::DProf Then I start the server, and it looks ok: [Tue Apr 16 17:22:12 2002] [notice] Apache/1.3.20 (Unix) mod_perl/1.25 mod_ssl/2.8.4

Re: Problem with Perl sections in httpd.conf, mod_perl 1.26

2002-04-16 Thread Michael Schout
On 16 Apr 2002, PinkFreud wrote: I have a rather odd problem, one which I can only assume is a bug somewhere, due to how bizarre it is. I am attmempting to generate virtual host configs via mod_perl, using Perl sections in httpd.conf. Not all hosts will be using a /perl Alias, though, so

Re: Enforcing user logged in from only 1 browser?

2002-04-16 Thread Peter Bi
Fran: 1) agreed. If a custom login page is needed, one has to look for other solutions such as cookie access control. 2) that depends. First, for some reasons, Internet is designed without Logout. Many seldom logout from those services such as Yahoo mail, and me too. For the specific question

Re: Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
On 16 Apr 2002, Garth Winter Webb wrote: Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used Apache::DProf w/o any problems by including only the one PerlModule line. Since they both want to use perl debugging hooks, I'm guessing that Apache::DProf is getting crashed up

Re: Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
On Tue, 16 Apr 2002, Sam Tregar wrote: On 16 Apr 2002, Garth Winter Webb wrote: Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used Apache::DProf w/o any problems by including only the one PerlModule line. Since they both want to use perl debugging hooks, I'm guessing

Re: Apache::DProf seg faulting

2002-04-16 Thread Perrin Harkins
Sam Tregar wrote: On Tue, 16 Apr 2002, Sam Tregar wrote: On 16 Apr 2002, Garth Winter Webb wrote: Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used Apache::DProf w/o any problems by including only the one PerlModule line. Since they both want to use perl debugging

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Randy Kobes
On Tue, 16 Apr 2002 [EMAIL PROTECTED] wrote: Hello Friends, I am a newbie and had developed a proof-of-concept application on Apache 1.3.23/Mod_Perl-1.26-dev. We are researching into moving away from ASP/IIS Webapplications to Apache/Mod_Perl. I am stuck with the latest Apache 2.0.35 with

Re: Enforcing user logged in from only 1 browser?

2002-04-16 Thread Fran Fabrizio
Peter, 2) that depends. First, for some reasons, Internet is designed without Logout. Many seldom logout from those services such as Yahoo mail, and me too. For the specific question you posted (one login only for an account), while it can be in principle designed and implemented, in

Re: DSO on Solaris - child dies with seg fault

2002-04-16 Thread Doug MacEachern
you might actually be hitting a problem i just found on solaris with 2.0 and perl 5.6.1. a problem that is fixed in 5.8.0-tobe, where certain DynaLoader and XSLoader combo prevents modperl from closing all of the dlhandles. try adding this to your startup.pl before use-ing any other

Re: Help Needed - RegistryCooker.pm -mod_perl-2 - Apache 2.0.35-(ActivePerl 631)

2002-04-16 Thread Randy Kobes
On Tue, 16 Apr 2002, Arul, Rex wrote: I am not sure, if I should post it here: OS: Windows 2000; Perl:ActivePerl 631; Apache:2.0.35; Mod_Perl:1.99_01 downloaded via PPM under theorynx website. In the httpd.conf, I am making the Apache::Registry pointer to be Apache2::ModPerl::Registry.

RE: Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Arul, Rex
Randy: Thanks for your response. Here are my responses: A few things to perhaps look at ... - does the error message give some more specific hint of what may be wrong? Not at all. THE REQUESTED OPERATION HAS FAILED -- This is the message that I get from Apache Monitor Services application.

Re: Apache::DProf seg faulting

2002-04-16 Thread Sam Tregar
On Tue, 16 Apr 2002, Perrin Harkins wrote: Strange, that works for me. I do it like this: Perl use Apache::DProf; use Apache::DB; Apache::DB-init; /Perl That works, but this doesn't: Perl use Apache::DB; use Apache::DProf; Apache::DB-init; /Perl

RE: Re: Help Needed - RegistryCooker.pm -mod_perl-2 - Apache 2.0.35-(ActivePerl 631)

2002-04-16 Thread Arul, Rex
Randy Kobes [EMAIL PROTECTED] wrote: On Tue, 16 Apr 2002, Arul, Rex wrote: I am not sure, if I should post it here: OS: Windows 2000; Perl:ActivePerl 631; Apache:2.0.35; Mod_Perl:1.99_01 downloaded via PPM under theorynx website. In the httpd.conf, I am making the Apache::Registry pointer

RE: Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Randy Kobes
On Tue, 16 Apr 2002, Arul, Rex wrote: Randy: Thanks for your response. Here are my responses: A few things to perhaps look at ... - does the service start OK, with mod_perl-2 enabled, if the PerlRequire statement isn't there? Yes! Apache2 server starts fine under the 'Apache Monitor

Re: Problem with Perl sections in httpd.conf, mod_perl 1.26

2002-04-16 Thread PinkFreud
Thanks for the patch, Michael. Unfortunately, this doesn't seem to fix my problem. :( [Tue Apr 16 19:11:47 2002] [error] [client x.x.x.x] File does not exist: /home/vhosts/linuxhelp.mirkwood.net/htdocs/perl/ It's still ignoring the Alias directive, when require'd from another file. On Tue,

RE: RE: Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Arul, Rex
Randy: In order to keep my Apache 1.3.23/Mod_Perl-1.26 safe, I tried installing Apache 2.0.35/mod_perl-2 on a different NT 4.0 Server with ActivePerl 628. LoadModule perl_module modules/mod_perl.so PerlModule Apache2 WORKS!!! However, when I write a simple Perl CGI page, it bombs at the

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread RStar
Randy, For what it's worth, I can verify Rex's experience with the exception that I used a win2k platform instead of Nt 4. I do have use Apache2 in my startup.pl. Rich Arul, Rex wrote: Randy: In order to keep my Apache 1.3.23/Mod_Perl-1.26 safe, I tried installing Apache

Apache::Reload

2002-04-16 Thread Luke Pascoe
After much fluffing around I managed to get Apache::Reload to work for .pm files with: httpd.conf Location / PerlRequire /the/path/to/the/perl/startup.pl PerlInitHandler Apache::Reload SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI /Location

Re: Looking for more information...

2002-04-16 Thread Stas Bekman
Marc Slagle wrote: In the next few weeks our radio show might be tackling mod_perl as a topic. I've read everything on the perl.apache.org site (and followed the links from there to take23.org, etc.) I've read the mod_perl articles on perl.com as well. My question is, are there any

RE: Re: Help Needed - RegistryCooker.pm -mod_perl-2 - Apache 2.0.35-(ActivePerl631)

2002-04-16 Thread Arul, Rex
Stas: The fix still does not work. Here is the error message (OS: Windows NT 4.0 SP 6a; ActivePerl 628; PPM Install of Mod_Perl-1.99 from theoryx.uwinnipeg.ca and Apache 2.0.35): Server error! Error message: Attempt to free unreferenced scalar at

Re: Looking for more information...

2002-04-16 Thread Marc Slagle
What else do you need? There are two mod_perl books that you may wish to purchase and read, see the links on the site. Got the books too. I'm almost there, but could still use any nifty statistics, etc. Most of the stories I've seen are for defunct sites/companies. I'm creating a site to go

Re: Looking for more information...

2002-04-16 Thread Stas Bekman
Marc Slagle wrote: What else do you need? There are two mod_perl books that you may wish to purchase and read, see the links on the site. Got the books too. I'm almost there, but could still use any nifty statistics, etc. Most of the stories I've seen are for defunct sites/companies.

mod_perl-2 - Apache 2.0.35 - Windows NT/2000 - Preliminary Woes cleared

2002-04-16 Thread Arul, Rex
Thanks a lot to Stas and Randy, I have got the MOD_PERL-1.99 and Apache 2.0.35 to get started up and running to serve the first CGIs under MOD_PERL in Windows NT 4.0 SP 6a environment. I am sure it should be the same for Windows 2000 too. Points: 1) I am having problems in my Windows 2000

Sharing Variable Across Apache Children

2002-04-16 Thread Benjamin Elbirt
Hey, I've gotten it so that I can define a variable across apache children, however when I update the variable, it only updates for the active child. Is there any way to share a variable across children so no matter what child is doing the update, the variable is updated for all children?

Re: Sharing Variable Across Apache Children

2002-04-16 Thread Stas Bekman
Benjamin Elbirt wrote: Hey, I've gotten it so that I can define a variable across apache children, however when I update the variable, it only updates for the active child. Is there any way to share a variable across children so no matter what child is doing the update, the variable is

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread pascal barbedor
Hello Friends, I am a newbie and had developed a proof-of-concept application on Apache 1.3.23/Mod_Perl-1.26-dev. We are researching into moving away from ASP/IIS Webapplications to Apache/Mod_Perl. I am stuck with the latest Apache 2.0.35 with the following problems. Today I