cvs commit: modperl-2.0/util source_scan.pl

2001-06-26 Thread dougm
dougm 01/06/26 09:52:03 Modified:util source_scan.pl Log: include ModPerl::WrapXS for the moment Revision ChangesPath 1.5 +1 -0 modperl-2.0/util/source_scan.pl Index: source_scan.pl

cvs commit: modperl-2.0/Apache-Test/lib/Apache TestHarness.pm TestRun.pm

2001-06-26 Thread sbekman
sbekman 01/06/26 23:21:25 Modified:Apache-Test/lib/Apache TestHarness.pm TestRun.pm Log: * new flag: --times=N run the tests N times * new flag: --order=order run the tests in the random order, rotate or repeat them * when the random order is specified, the seed

Help me! about $r-bytes_sent

2001-06-26 Thread wac
Dear all members: I have a question , I want to use mod_perl handler print file sent size. Apache Config file httpd.conf = Alias /test/ D:/test/ Location /test/ SetHandler perl-script PerlHandler My::Test Options ExecCGI /Location

Re: Help me! about $r-bytes_sent

2001-06-26 Thread Stas Bekman
On Tue, 26 Jun 2001, wac wrote: Dear all members: I have a question , I want to use mod_perl handler print file sent size. Apache Config file httpd.conf = Alias /test/ D:/test/ Location /test/ SetHandler perl-script PerlHandler

Re: Can I use mod_perl to monitor mod_ssl

2001-06-26 Thread Ged Haywood
Hi there, On Sun, 24 Jun 2001, Joachim Zobel wrote: We are having infrequent non reproducable problems with SSL. Can I use mod_perl for debugging and monitoring the SSL activity beyond HTTP? I think you would be better off using something like tcpdump. 73, Ged.

Re: Persistant data accross processes

2001-06-26 Thread Joachim Zobel
At 14:54 25.06.2001 -0700, you wrote: Hi all, I'd like a way to store complex data structures across Apache processes. I've looked at Apache::DBI for an example: my tests say that he has to create a new dbh for every process. I've looked at IPC::Shareable, but it has to copy data. Meaning

Re: mod_perl 1.25, CGI.pm and POST

2001-06-26 Thread Joachim Zobel
At 15:50 25.06.2001 -0700, you wrote: [...] However, if I change the submission type from POST to GET, the script starts functioning perfectly. Does anyone know what would cause this type of behavior? I am at a loss as to how to proceed ... I am including below an example script which

Re: Persistant data accross processes

2001-06-26 Thread darren chamberlain
Rodney Broom [EMAIL PROTECTED] said something to this effect on 06/25/2001: Hi all, I'd like a way to store complex data structures across Apache processes. I've looked at Apache::DBI for an example: my tests say that he has to create a new dbh for every process. I've looked at

Re: Persitant data accross processes

2001-06-26 Thread Aaron E. Ross
Hi all, create a new dbh for every process. I've looked at IPC::Shareable, but = why is a new dbh for each process a problem? how else would it work? it has to copy data. Meaning that I can only have a certain amount of = complexity to my data structures. I'm not sure why IPC::Shareable

Re: strange uninitialized value error.

2001-06-26 Thread Vivek Khera
RB == Rodney Broom [EMAIL PROTECTED] writes: Use of uninitialized value at /website/perllib/MLM/MLMhandler.pm line 56. RB $uri = $r-uri; RB warn \$uri is undef unless defined $uri; debugging?!?!? worth a shot... let's see. thanks.

Cookies and redirection

2001-06-26 Thread Glen Small
All, I'm having some problem setting a cookie in a logon script i have. The code work fine as a CGI, and also under mod)perl, however, I want to set a cookie during the login script, and then redirect the browser to another page. When I enter the code below into the mod_perl script, the

Re: mod_Perl 1.25, CGI.pm and POST

2001-06-26 Thread Anthony Brock
At 12:48 AM 06/26/2001 -0700, [EMAIL PROTECTED] wrote: At 15:50 25.06.2001 -0700, you wrote: [...] There has been a change in 1.25 concerning reading of STDIN (this is what POST does). Dough MacEachern mentioned this some days ago. IIRC $r-read() now returns nothing instaed of hanging if STDIN

swapping of mod_perl parent process / mlockall()

2001-06-26 Thread Adi Fairbank
Is it correct that when the Apache/mod_perl parent process swaps to disk, a large part of it (swapped pages) becomes unshared? Even after the kernel restores the pages from swap, do they remain unshared? So once the parent process becomes unshared, new apache children that are spawned only

ANNOUNCE: CGI::Application 2.0

2001-06-26 Thread Jesse Erlbaum
Version 2.0 of CGI::Application is now available via CPAN! Download site for CGI::Application: http://www.cpan.org/authors/id/J/JE/JERLBAUM/ CHANGES SINCE VERSION 1.31: - Added ability to set mode_param() to use a call-back instance method (specified by subref) instead of a CGI

push_handlers and PerlAuthenHandler troubles [second try]

2001-06-26 Thread Bolt Thrower
My apologies if you've seen this twice. For a particular Location, I'd like to selectively (i.e., based on arbitrary criteria) determine whether a visitor needs authentication. So I set up a Location section in httpd.conf as follows: Location / AuthType Apache::AuthTicket AuthName

looking for a few good stats

2001-06-26 Thread Islandman
I'm looking for a good stats package for presenting basic stats, normal distributions, percentiles, and similar off of database queries. Not seeing much on CPAN. Thanks in advance! -Brian

Re: Cookies and redirection

2001-06-26 Thread darren chamberlain
Glen Small [EMAIL PROTECTED] said something to this effect on 06/26/2001: I'm having some problem setting a cookie in a logon script i have. The code work fine as a CGI, and also under mod)perl, however, I want to set a cookie during the login script, and then redirect the browser to another

Re: mod_Perl 1.25, CGI.pm and POST

2001-06-26 Thread darren chamberlain
Anthony Brock [EMAIL PROTECTED] said something to this effect on 06/26/2001: At 12:48 AM 06/26/2001 -0700, [EMAIL PROTECTED] wrote: At 15:50 25.06.2001 -0700, you wrote: There has been a change in 1.25 concerning reading of STDIN (this is what POST does). Dough MacEachern mentioned this some

Re: looking for a few good stats

2001-06-26 Thread Brian Reichert
On Tue, Jun 26, 2001 at 08:22:25AM -0700, Islandman wrote: I'm looking for a good stats package for presenting basic stats, normal distributions, percentiles, and similar off of database queries. Not seeing much on CPAN. Statistics::Descriptive does me just fine. What kind of stuff are you

Re: Persistant data accross processes

2001-06-26 Thread Olivier Poitrey
I'm working on two modules that can help you to do this job. There names are Apache::SharedMem and Apache::Cache. You can find them on : ftp://ftp.rhapsodyk.net/pub/devel/perl/ thx to report bugs to me - Original Message - From: Rodney Broom [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Directory Restrictions

2001-06-26 Thread will trillich
On Tue, Jun 26, 2001 at 01:00:00AM -0400, Brooklyn Linux Solutions CEO wrote: I found it, quite be accident in the Eagle Book Lost the page number, but it was in Chapter 4. i know i ran across something like that at once time myself, but scanning chapter 4 for twenty minutes didn't find it.

Re: Persitant data accross processes

2001-06-26 Thread Rodney Broom
Hi all, Thanks for the input. I've replied to three messages in this one. In order, they are Joachim, Olivier and Aaron. In my reply to Aaron, I've outlined in better specificity what I'm actually after. One further note on my needs, I'm not after session data. I've got a big information

Re: push_handlers and PerlAuthenHandler troubles [second try]

2001-06-26 Thread Rodney Broom
- Original Message - From: Bolt Thrower [EMAIL PROTECTED] Location / AuthType Apache::AuthTicket AuthName HomeIntranet PerlAuthenHandler Intranet::CheckSiteAuthen #PerlAuthenHandler Apache::AuthTicket-authenticate PerlAuthzHandler

Re: Persistant data accross processes

2001-06-26 Thread Joshua Chamas
Rodney Broom wrote: Hi all, I'd like a way to store complex data structures across Apache processes. I've looked at Apache::DBI for an example: my tests say that he has to create a new dbh for every process. I've looked at IPC::Shareable, but it has to copy data. Meaning that I can only

Re: push_handlers and PerlAuthenHandler troubles [second try]

2001-06-26 Thread Bolt Thrower
Rodney Broom wrote: Location / AuthType Apache::AuthTicket AuthName HomeIntranet PerlAuthenHandler Intranet::CheckSiteAuthen #PerlAuthenHandler Apache::AuthTicket-authenticate PerlAuthzHandler Apache::AuthTicket-authorize require valid-user

missing mtime in request rec?

2001-06-26 Thread Geoffrey Young
hi all... can somebody check the results of $r-mtime for me? something like PerlCleanupHandler 'sub {warn *** time***, Apache::Util::ht_time(shift-mtime)};' ought to do the trick. I have yet to see a case today where that reads other than the start of the epoch. some minmial searching

Reload Modules on NT Apache

2001-06-26 Thread Purcell, Scott
Hello, I am using mod-perl, and I am in the development stages of coding. Each time I make a code change to a module, I must restart apache. I know there must be docs for this, but I cannot find them from the apache web site. Could someone assist me in finding those? Or if someone knows of a

[ANNOUNCE] Apache::DnsZone 0.2

2001-06-26 Thread Thomas Eibner
Hi Folks, The URL http://dnszone.org/dist/Apache-DnsZone-0.2.tar.gz has entered CPAN as file: $CPAN/authors/id/T/TH/THOMAS/Apache-DnsZone-0.2.tar.gz size: 47032 bytes md5: 8cc9ef56ae9c1ef481801c01b2212d00 What's new: and PTR records are now supported. Much work has been done

Re: Reload Modules on NT Apache

2001-06-26 Thread Tim Gardner
I am using mod-perl, and I am in the development stages of coding. Each time I make a code change to a module, I must restart apache. I know there must be docs for this, but I cannot find them from the apache web site. Could someone assist me in finding those? Or if someone knows of a simple way

Re: RFC: new module: Apache::FakeEnv

2001-06-26 Thread Andrew Ho
Hello, GYthere was a more advanced Apache::FakeRequest floating around somewhere... TKI knew this script (it was posted here, too), and while it is definitly TKbetter than Apache::FakeRequest, it still doesn't handle dir_config TKcalls. That's my script. The caveat is, that it will *never* be

mod_perl install

2001-06-26 Thread Purcell, Scott
Hello, I am trying a new install of mod_perl on my NT box here which is running apache. The last install I used Ron Savages NT binary distribution. And it was easy to install and worked. But I feel that I need to install mod_perl from scratch (I have to begin supporting it here at my shop). I

pass cookie along with the POST request?

2001-06-26 Thread Islandman
The small code segment below will get the contents of a web page using a perl script. The site I want to access wants a cookie sent as well. There is a cookie for this site is in my ~/.netscape/cookies file. How do I change the code below so I can fake pass the cookie along with the POST

Re: mod_perl install

2001-06-26 Thread Ron Savage
Scott See below. Cheers Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html - Original Message - From: Purcell, Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 8:12 AM Subject: mod_perl install Hello, I am trying a new install of mod_perl on

RE: missing mtime in request rec?

2001-06-26 Thread Geoffrey Young
I did some more digging... it seems that any request that is served by the default Apache content handler is ok - only those that are processed by mod_perl (well, anything that isn't the default) seem to be affected. this doesn't seem quite right to me - if Apache can determine r-filename and

Re: mod_perl install

2001-06-26 Thread Randy Kobes
On Tue, 26 Jun 2001, Purcell, Scott wrote: Hello, I am trying a new install of mod_perl on my NT box here which is running apache. The last install I used Ron Savages NT binary distribution. And it was easy to install and worked. But I feel that I need to install mod_perl from scratch (I

Re: SSI Lost with Mod Perl?

2001-06-26 Thread Perrin Harkins
I've given Filter and SSI a shot according to the perldocs. It didn't work. I stated to hhack on some of the problems, which first involved in the make install depositing them in the wrong diretory, and then they SSI needed use Apache::Filter statements added. Finally, Filter cam back