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
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
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
[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
> 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
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
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
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
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
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
[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/
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.
:-)
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
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
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
>
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
> 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
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
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
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
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
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
>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
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
24 matches
Mail list logo