connection monitoring

2003-11-28 Thread John Michael
Let me start by saying, I am a self taught programmer and have written modperl scripts to run under apache registry and dabbled with writting my own modperl modules.   I want to write a modperl script to monitor connections each remote_ip is making to a certain folder.  I want to be able to

Re: Building Apache2/modperl2 statically linked

2003-11-28 Thread Stas Bekman
cramirez wrote: How does one go about compiliing mod_perl 2 statically with Apache 2.0.48. I compiled Apache 2 and installed mod_perl 1.99_11. I am able to load mod_perl via DSO. However, I would like to have mod_perl staically compiled with Apache2. The installation docs are not that clear. Cu

Building Apache2/modperl2 statically linked

2003-11-28 Thread cramirez
How does one go about compiliing mod_perl 2 statically with Apache 2.0.48. I compiled Apache 2 and installed mod_perl 1.99_11. I am able to load mod_perl via DSO. However, I would like to have mod_perl staically compiled with Apache2. The installation docs are not that clear. Here are the step

Re: [mp2] requesting URLs with path_info fails sometimes

2003-11-28 Thread Stas Bekman
[EMAIL PROTECTED] wrote: I can't reproduce the problem with the cvs version of mod_perl, would you consider giving it a try? I tried the CVS version, and no problems.. so it is fixed there. Previously I found that pre-loading the CGI's with RegistryLoader also avoided the errors. Yes, it was due

Re: [mp2] requesting URLs with path_info fails sometimes

2003-11-28 Thread awk-mp
> I can't reproduce the problem with the cvs version of mod_perl, would you > consider giving it a try? I tried the CVS version, and no problems.. so it is fixed there. Previously I found that pre-loading the CGI's with RegistryLoader also avoided the errors. Either way, now I can get back to wo

Re: Apache2 prefork children dying with WebGUI/modperl 1.99_11

2003-11-28 Thread Jay R. Ashworth
On Fri, Nov 28, 2003 at 10:04:34AM -0800, Stas Bekman wrote: > > to giving the mod_perl error (well, I think that's what it is). It > > segfaults if it's daemonized; it doesn't if it's standalone. > > That's exactly why I gave you the instructions how to get the core file when > the server is ru

Re: Apache2 prefork children dying with WebGUI/modperl 1.99_11

2003-11-28 Thread Jay R. Ashworth
On Fri, Nov 28, 2003 at 10:09:41AM -0800, Stas Bekman wrote: > > I'm glad you said that, so I didn't have to. Empty Mind is hard to > > come by. I'm actually planning on trying to whomp up a HOWTO on the > > whole installation, but I can certainly distill out the important > > parts. > > We try

Re: Apache2 prefork children dying with WebGUI/modperl 1.99_11

2003-11-28 Thread Stas Bekman
Jay R. Ashworth wrote: Once you figure it out, it'd be nice if you could send a patch improving the docs on getting the core file and the trace, so people who come after you with the same task in hand will have an easier time understanding. I get dozens of core files daily, so for me it's a routin

Re: Apache2 prefork children dying with WebGUI/modperl 1.99_11

2003-11-28 Thread Stas Bekman
Jay R. Ashworth wrote: On Fri, Nov 28, 2003 at 12:23:53AM -0800, Stas Bekman wrote: Jay R. Ashworth wrote: On Thu, Nov 27, 2003 at 05:12:10PM -0800, Stas Bekman wrote: httpd -DONE_PROCESS -DNO_DETACH Oh, *ick*; it's a Heisenbug. This time it didn't dump core -- it did what it was doing origi

Re: Apache2 prefork children dying with WebGUI/modperl 1.99_11

2003-11-28 Thread Jay R. Ashworth
On Fri, Nov 28, 2003 at 12:23:53AM -0800, Stas Bekman wrote: > Jay R. Ashworth wrote: > > On Thu, Nov 27, 2003 at 05:12:10PM -0800, Stas Bekman wrote: > > > >>httpd -DONE_PROCESS -DNO_DETACH > > > > > > Oh, *ick*; it's a Heisenbug. > > > > This time it didn't dump core -- it did what it was doi

Re: [mp2] requesting URLs with path_info fails sometimes

2003-11-28 Thread Stas Bekman
[EMAIL PROTECTED] wrote: [Thu Nov 27 23:46:07 2003] [error] [client 172.16.1.2] Error: read 1 bytes, expected 143 ('(null)') at /usr/local/lib/perl5/site_perl/5.8.2/mach/Apache2/ModPerl/RegistryCooker.pm line 528. [Thu Nov 27 23:46:08 2003] [error] [client 172.16.1.2] Error reading '/www/

Re: Apache2 prefork children dying with WebGUI/modperl 1.99_11

2003-11-28 Thread Jay R. Ashworth
On Fri, Nov 28, 2003 at 12:27:47AM -0800, Stas Bekman wrote: > > Isn't it nice to have these emails to excerpt for the next update of > > that web page? :-) > > How do you think most of the documentation on perl.apache.org has emerged... > it came from this kind of discussions on this list. :-)

Re: mod_perl2, Apache::PageKit and $s->uid

2003-11-28 Thread Stas Bekman
Paul Flinders wrote: Stas Bekman wrote: Paul Flinders wrote: At present I'm not getting much further than the start-up code. The sequence my $s = Apache->server; my $uid = $s->uid; my $gid = $s->gid; gives me Syntax error at /etc/httpd/conf.d/perl.conf:66 Can't locate object method "uid" v

FW: Capture Windows User Details

2003-11-28 Thread Frank Maas
Jacqui Caren replied to me in stead of the list: > Frank Maas wrote: >>> I would like to know if there is a module that allows me to capture >>> the currently logged in user name of a client accessing a Apache web >>> server. >> >> >> Let me get this straight... You are looking for a module _on

RE: Capture Windows User Details

2003-11-28 Thread Frank Maas
Steve Adams replied to me in stead of the list: > Frank Maas wrote: >>> I would like to know if there is a module that allows me to capture >>> the currently logged in user name of a client accessing a Apache web >>> server. >> >> Let me get this straight... You are looking for a module _on the >

RE: Capture Windows User Details

2003-11-28 Thread Frank Maas
Hi Brett, > I would like to know if there is a module that allows me to capture > the currently logged in user name of a client accessing a Apache web > server. Let me get this straight... You are looking for a module _on the Apache server_ that extracts the name under which the user logged in o

Re: mod_perl and Apache::Registry

2003-11-28 Thread Patricio Muñoz
> Hi, > I work with mod_perl for Apache, but I have problem with Apache:Registry. > The output error.log is > > [Thu Nov 27 12:26:16 2003] [error] failed to resolve handler > `Apache::Registry' > [Thu Nov 27 12:26:16 2003] [error] [client 192.168.0.5] Can't locate > Apache/Registry.pm in @INC (@IN

Re: mod_perl2, Apache::PageKit and $s->uid

2003-11-28 Thread Paul Flinders
Stas Bekman wrote: Paul Flinders wrote: At present I'm not getting much further than the start-up code. The sequence my $s = Apache->server; my $uid = $s->uid; my $gid = $s->gid; gives me Syntax error at /etc/httpd/conf.d/perl.conf:66 Can't locate object method "uid" via package "Apache::S

Re: Caching CGI scripts running under Apache::Registry

2003-11-28 Thread Jean-Michel Hiver
On Thu 27-Nov-2003 at 04:17:43 -0500, Perrin Harkins wrote: > > Trouble is, 'just printing it' doesn't seem to work. > > You're capturing STDOUT. Call $r->print instead. That worked! Cheers! Hurray :) Now I've got to make it something configurable, useful, and release on CPAN I guess... Cheers

Re: Apache2 prefork children dying with WebGUI/modperl 1.99_11

2003-11-28 Thread Stas Bekman
BTW, I've completely forgotten that I wrote a dedicated module that extracts the backtrace without needing a core file. I just didn't have time to polish it, so in certain cases it works in others it doesn't. It's Debug::FaultAutoBT on CPAN. http://search.cpan.org/~stas/Debug-FaultAutoBT-0.02/Fa

Re: Apache2 prefork children dying with WebGUI/modperl 1.99_11

2003-11-28 Thread Stas Bekman
Jay R. Ashworth wrote: [...] Isn't it nice to have these emails to excerpt for the next update of that web page? :-) How do you think most of the documentation on perl.apache.org has emerged... it came from this kind of discussions on this list. Once you figure it out, it'd be nice if you could

Re: Apache2 prefork children dying with WebGUI/modperl 1.99_11

2003-11-28 Thread Stas Bekman
Jay R. Ashworth wrote: On Thu, Nov 27, 2003 at 05:12:10PM -0800, Stas Bekman wrote: httpd -DONE_PROCESS -DNO_DETACH Oh, *ick*; it's a Heisenbug. This time it didn't dump core -- it did what it was doing originally: In which case you can run the server normally and still get the core file, but

Re: mod_perl and Apache::Registry

2003-11-28 Thread Swen Schillig
>or even: > > $v =~ s{ (blib[/\\]lib) }{ catdir $1, 'Apache2'}xe; > >I thought there is at least one more variation of the dir separator, wasn't it >':'? Yeah, I guess for MACs ! Mit freundlichen Grüßen / Best Regards Swen Schillig -- Reporting bugs: http://perl.apache.org/bugs/ Mail list

Re: mod_perl and Apache::Registry

2003-11-28 Thread Stas Bekman
Randy Kobes wrote: [...] I think it is a ModPerl::BuildMM thing - this patch Index: lib/ModPerl/BuildMM.pm === RCS file: /home/cvs/modperl-2.0/lib/ModPerl/BuildMM.pm,v retrieving