Re: Mem usage of modules

2002-04-12 Thread Stas Bekman
pawelp wrote: Hi Under Mem Usage menu I have list like this: Apache::ROOT::cgi_2dbin::auk_ch_de Apache::ROOT::cgi_2dbin::auk_ch_fr Apache::ROOTdynamic_2ericardo_2ech::cgi_2dbin::auk_aw_ch_de Apache::ROOTdynamic_2ericardo_2ech::cgi_2dbin::auk_aw_ch_fr

Re: Trapping browser events

2002-04-12 Thread Mark Fowler
On Fri, 12 Apr 2002, Jacob Elder wrote: last if $r-connection-aborted; There's a more full discussion of this in the mod_perl developer's cookbook in section 4.8. They postulate a module for checking a little more carefully, source of which is here:

Apache::ServerUtil pb in modperl2

2002-04-12 Thread [EMAIL PROTECTED]
Hi apache 2.0.35 / mod_perl 1.99_01 / winnt I confirm that using a module in startup.pl consisting of use Data::Dumper ; use XML::LibXML() ; [1] use Apache::ServerUtil ; [2] my $s=Apache-server ; [3] my $base=$s-dir_config('some'); [4] my $xml=XML::LibXML-new(); [5] print Dumper $xml ;

RE: banner system

2002-04-12 Thread Les Mikesell
From: Maarten Stolte [mailto:[EMAIL PROTECTED]] before i invent the wheel for the xth time, can someone tell me wether there is an (opensource) banner management system in modperl (MASON?). I used this one for a busy site for several years: http://www.sklar.com/dad/. Les Mikesell

Re: Apache::File correction

2002-04-12 Thread Ernest Lergon
Martin Haase-Thomas wrote: [snip] Secondly I wonder whether local $/ = undef will have any effect. But I've never tried overriding Perl's predefined variables. regards Dear Martin, this is the well-known file-slurp mode. E.g.: undef $/; # enable slurp mode $_ = FH;

Re: Apache::File correction

2002-04-12 Thread Rob Nagler
undef $/; # enable slurp mode I think the local is pretty important, especially in mod_perl: local $/; This has the same effect (the undef is unnecessary). It's also a good idea to enclose the code in a subroutine with error checking: sub read_file { my($file)

Patch to mod_perl 1.26: error-notes support

2002-04-12 Thread Jesse Erlbaum
Hello Doug All -- One of my programmers (Dave Kaufman) brought to my attention a small but useful feature which is present in mod_cgi, but missing from Apache::Registry. When running via mod_cgi, if execution of a CGI application fails, an error message will be propagated to an environment

RE: banner system

2002-04-12 Thread Maarten Stolte
On Fri, 2002-04-12 at 15:12, Les Mikesell wrote: From: Maarten Stolte [mailto:[EMAIL PROTECTED]] before i invent the wheel for the xth time, can someone tell me wether there is an (opensource) banner management system in modperl (MASON?). I used this one for a busy site for several

Re: libperl.so vs mod_perl.so

2002-04-12 Thread Ryan Parr
I didn't know about that script :) I'm glad to know it's out there. Using the ports *would* make life much easier. Thanks! -- Ryan - Original Message - From: Doug Silver [EMAIL PROTECTED] To: Ryan Parr [EMAIL PROTECTED] Cc: mod_perl Mailing List [EMAIL PROTECTED] Sent: Thursday, April

Re: PDF generation

2002-04-12 Thread Robin Berjon
On Wednesday 03 April 2002 22:43, Bill McCabe wrote: I have a large number of mod_perl modules that connect to various databases and generate workflow performance reports for my organization. I give the users 3 output options: HTML, Excel (Spreadsheet::WriteExcel), and PDF. For PDF output

Location header blows away Set-Cookie?

2002-04-12 Thread Thomas K. Burkholder
Apologies if this is well-known - a generalized search failed to explain the behaviour I'm seeing. Using: Apache/1.3.23 (Unix) Debian GNU/Linux mod_ssl/2.8.7 OpenSSL/0.9.6c mod_perl/1.26 I'm using a perl handler in which I create a session and bind it to a cookie if a session doesn't

Re: Location header blows away Set-Cookie?

2002-04-12 Thread Tim Tompkins
Use err_header_out() when response status is other than 200. $r-err_header_out(Set-Cookie = 'foo1=bar1'); Regards, Tim Tompkins -- Programmer http://www.arttoday.com/ http://www.rebelartist.com/ --

Re: Location header blows away Set-Cookie?

2002-04-12 Thread Stephen Reppucci
I think this is in the Guide somewhere, but the short answer is to use 'err_header_out()' rather than 'header_out' for any type of non-success result. On Fri, 12 Apr 2002, Thomas K. Burkholder wrote: Apologies if this is well-known - a generalized search failed to explain the behaviour I'm

Re: Trapping browser events

2002-04-12 Thread Geoffrey Young
Mark Fowler wrote: On Fri, 12 Apr 2002, Jacob Elder wrote: last if $r-connection-aborted; There's a more full discussion of this in the mod_perl developer's cookbook in section 4.8. They postulate a module for checking a little more carefully, source of which is here:

Enforcing user logged in from only 1 browser?

2002-04-12 Thread Fran Fabrizio
Hello all, I'm looking for a straightforward approach to extend our AuthCookie sessioning to enforce that a user is only logged in from one browser at a time. For us, it would suffice that if the user tries to log in from a 2nd browser, the first session would just be expired. I was

Re: Content management systems

2002-04-12 Thread Robin Berjon
On Wednesday 10 April 2002 18:22, Perrin Harkins wrote: It looks Robin Berjon is going to give an overview of CMS for mod_perl at OSCON: http://conferences.oreillynet.com/cs/os2002/view/e_sess/2667 Yes, and if you have suggestions and ideas on CMSs you'd like to see included (or excluded)

couldn't spawn child process

2002-04-12 Thread Ngoc Pham
Hi, I have a test perl script: #!C:\Program Files\Perl\bin\perl.exe use CGI qw(:standard) ; print header(); print Hello, world; With apache_1.3.24-win32-x86-no_src.exe installation, the script runs fine. With apache_2.0.35-win32-x86-no_ssl.msi installation, error occurs: The system cannot find

Re: mod_perl and DB2

2002-04-12 Thread Bill McCabe
On 4/11/02 at 9:54 AM, [EMAIL PROTECTED] (David Shrewsbury) wrote: Hey gang. Couldn't find an answer to this in the archives. We have a DB2 database that we access via mod_perl scripts. We have been getting errors in the Apache log files every morning whenever we first try to access the

[JOB] ModPerl developer at PrintMe.Com

2002-04-12 Thread siberian
I posted this a few months ago, got great response and was unable to follow-up on it immediately for a variety of reasons. The need has become critical so I am pursuing those who responded before and hoping to gather some new faces for interviews in the next two weeks. John- Here is the

Re: Enforcing user logged in from only 1 browser?

2002-04-12 Thread leibniz
perhaps you can generate a new session id for each page displayed. for example a user logs in. he gets $sess_id1. automatically the session id gets changed to $sess_id2 and all the links from that page contain the second one. so if he clicks somewhere on the page he will go on to a page with the

Re: Enforcing user logged in from only 1 browser?

2002-04-12 Thread gphat
How are you handling your sessions? I use Apache::Session::Postgres. In my scenario, if I needed to do this, I would check the list of valid sessions I have for one that exists for the user. ie, if 'gphat' tries to login, I check to see if any of the sessions the db are for user gphat. If

Re: Apache::ServerUtil pb in modperl2

2002-04-12 Thread Randy Kobes
On Thu, 11 Apr 2002, pascal barbedor wrote: I have a problem with Apache::ServerUtil though : when using $s-dir_config('some') i have this message (and apache segfaults) Attempt to free unreferenced scalar at .. line 17 i have installed modperl through ppd, so have not the t/report

Re: Enforcing user logged in from only 1 browser?

2002-04-12 Thread Peter Bi
To make a perfect system like this probably needs users to sign-off faithfully by every session. Peter Bi - Original Message - From: Fran Fabrizio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 12, 2002 1:22 PM Subject: Enforcing user logged in from only 1 browser?

Re: couldn't spawn child process

2002-04-12 Thread Randy Kobes
On Fri, 12 Apr 2002, Ngoc Pham wrote: Hi, I have a test perl script: #!C:\Program Files\Perl\bin\perl.exe use CGI qw(:standard) ; print header(); print Hello, world; With apache_1.3.24-win32-x86-no_src.exe installation, the script runs fine. With apache_2.0.35-win32-x86-no_ssl.msi