s their mistake
;)
would such a module be a logical plug-in replacement for the Registry
handler, a sub-class, or something else? I'd like to write it, but am
interested to know if I'm barking up the wrong tree.
thanks -Justin
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list inf
SB> What you want to do is to shutdown servers if some timestamp file
SB> has changed, but you want to do it at random. First of all don't you
SB> think it's a problem if different servers will run different code
SB> sets?
Yes, sure, for changes where old and new running at the same time, I
would
.. and lose the ability to do any phase-in of code at all..
thanks as usual.
by the way, is modperl2 on apache2 quite ok for heavy production use by
now? is an upgraade recommended for performance reasons at least?
-Justin
SB> justin wrote:
SB> [...]
>> SB> Second, you could write
The last time I traced mod_rewrite on the front-end, and map files,
discovered it opens, reads, and closes, the file *every single request*.
I use a map like that to block IPs fast, but thought that was rather
inefficient? should I not be concerned about such trifles?
-Justin
RN> Brian H
ment has
moved here.
after the end of my card, which breaks Nokia WAP proxies
Who is adding this on, how do I stop it getting added?
thanks!
-Justin
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
I best debug this? perhaps capture the segv and do a stack trace
or write a core file? it only happens in production, or if it happens in
dev, then I need a production-like request rate anyway.
thanks
-justin
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.a
I did not recompile modperl or apache after the OS upgrade.
strace on child processes started working again as well.
I think base redhat9 (shrike) with no updates is not quite trustworthy
for apache.
thanks for the explanation, though, it'll help in future.
-justin
SB> justin wrote
xy if that is
the place i should instead be looking at.. having one global Timeout
variable in http.conf set to 60 seconds or whatever is getting old.
thanks
-Justin
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette:
there.
What is it, or am I, missing here?
[Thu Oct 23 19:06:50 2003] [error] Undefined subroutine
&Apache::RegistryBB::handler called.
thanks
-Justin
the 2nd location work perfectly, is change BB to NG,
but then my script is recompiled whenever the disk date changes. I prefer
to control that with HUP, or let them roll naturally.
-Justin
GY> justin wrote:
>> Although I can get RegistryNG working just fine, I can't seem to get
I tried that as well, before, did not work ..
just verified it again:
[Fri Oct 24 02:47:20 2003] [error] Undefined subroutine
&Apache::RegistryBB->handler::handler called.
PH> On Thu, 2003-10-23 at 22:22, justin wrote:
>> # runtime, this location generates the error, browser s
can anyone on the list recommend me a good modperl+mysql based Wiki
engine?
http://c2.com/cgi/wiki?WikiEngines
The list here is endless, and not clear on this subject.
thanks
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
I have been working with Mod_Perl for a few years now and have been
fairly successful. I thought that I had a fair understanding of how
things worked until today. I’m using Mod_Perl version 1.0 and I’m
just using the Apache::Registry to speed up regular Perl scripts.
Problem #1:
rience with Mod_Perl I find
that hard to believe. The package part though does make sense. So the
last "package" loaded stays in memory?
I'm still struggling with this area.
Thanks,
Justin
-Original Message-
From: Malcolm J Harwood [mailto:[EMAIL PROTECTED]
Se
package goes into a common package name and
will be shared by both scripts?
Thanks Perrin.
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]
Sent: Friday, November 05, 2004 9:03 AM
To: Justin Luster
Cc: [EMAIL PROTECTED]
Subject: Re: Global Variables - What is in Memory?
Hi
This clears things up.
Thanks for your help.
Justin
-Original Message-
From: Malcolm J Harwood [mailto:[EMAIL PROTECTED]
Sent: Friday, November 05, 2004 9:22 AM
To: [EMAIL PROTECTED]
Subject: Re: Global Variables - What is in Memory?
On Friday 5 November 2004 11:50 am, Justin Luster
ven if I set a variable and look for its value in dbconnect and reset
handler and return DECLINED, it just ends and refuses to run &handler().
As I said before, it works just fine in mod_perl 1.0, and only broke as
of mod_perl 2.0.
Thoughts/ideas?
Justin
PerlResponseHandlers before starting over again.
Justin
Justin Wheeler wrote:
> I realise there's a good chance my issue is my own stupidity, but I'm
> hoping someone else can help out -- I've searched this mailing list and
> google, all to no avail.
>
> I am in the
Oh, wait .. it gets better.
I fixed my previous problem, but have a new one.
If I put my system under heavy load, I start seeing these in my log files:
[Tue Aug 09 15:46:05 2005] [error] lookup of 'Main::session_check' failed
session_check is sometimes another handler in the list of handlers
(d
0x080d6f67 in make_child ()
#19 0x080d7079 in startup_children ()
#20 0x080d7477 in ap_mpm_run ()
#21 0x080de169 in main ()
Justin
Philippe M. Chiasson wrote:
Justin Wheeler wrote:
Oh, wait .. it gets better.
I fixed my previous problem, but have a new one.
Sorry to hear that.
If I put my
cv = 0x0, flags = 33 '!', attrs = 0, next = 0x0}
Justin
Philippe M. Chiasson wrote:
> Justin Wheeler wrote:
>
>>Here is the backtrace with debugging enabled:
>
>
> Can you try :
>
> (gdb) info locals
> (gdb) print *gv
> (gdb) print *handler
>
>
>
he contents of main.pl and places it inside a function
called “handler( )”. “handler( )” then receives an
Apache Object. So I’m getting it using @_[0] and then passing it
into my function.
Is this bad practice? Any
“cons” to doing it this way?
I just want a simple way to create the
header.
Please help.
Thanks,
Justin
Perrin responded to my question below. His response works with what I'm
trying to do. Let me know if you think this is a bad idea.
On Tue, 2005-08-16 at 09:20 -0700, Justin Luster wrote:
> The way it relates is that in the previous code I was doing this:
>
> my $r = A
Is there a way in Perl code to clear out the cached code in
the registry?
I tried this and I get:
Can't locate object method: "cache_table_common".
Thanks,
Justin
-Original Message-
From: Philip M. Gollucci [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 17, 2005 11:05 AM
To: Justin Luster
Cc: modperl@perl.apache.org
Subject: Re: Clear R
ache. To get it to
realize the update I usually have to reset Apache. I'm hoping for an
easier way especially since sometimes I don't have the right to reset
the server.
Thanks,
Justin
-Original Message-
From: Philippe M. Chiasson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Aug
pache::Reload
doesn't always work when it picks up the change. I end up getting
something I needed undefined in another module or something odd like
that, and end up with a graceful restart
On Aug 17, 2005, at 4:36 PM, Philip M. Gollucci wrote:
> Justin Luster wrote:
>> No I wa
more. Is this not available in Mod_Perl 2?
How do detect:
PerlOptions -ParseHeaders?
Thanks for your help,
Justin
I use Rackspace for my Unix hosting and support. They install Red Hat
Enterprise Linux 3 and 4 that both have beta versions of Mod_Perl
installed (ModPerl 1.99_16). Are these not recommended for use on a
production server?
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]
September 15, 2005 12:29 AM
To: Justin Luster
Cc: 'mod_perl List'
Subject: Re: Do I need Apache2::RequestUtil::request( )?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Justin,
I try to answer you questions step by step:
1. Why does print "Content-type: text/html\r\n\r\n&quo
Thank you.
That is what I was hoping to hear.
Thanks,
Justin
-Original Message-
From: Tom Schindl [mailto:[EMAIL PROTECTED]
Sent: Friday, September 16, 2005 12:06 AM
To: Justin Luster
Cc: 'mod_perl List'
Subject: Re: Do I need Apache2::RequestUtil::request( )?
-BEGIN
be happening? We are only using
Apache::Registry in this instance. I can't see how a lexically scoped
file handle that is being locked is not being unlocked once the process
ends.
Thanks for any help,
Justin
al Message-
From: Robert Landrum [mailto:[EMAIL PROTECTED]
Sent: Friday, April 13, 2007 1:07 PM
To: Justin Luster
Cc: [EMAIL PROTECTED]
Subject: Re: Lock Files - File is permanently locked
Justin Luster wrote:
> Does anyone know what might be happening? We are only using
> Apache::Reg
th Software.";
exit();
}
NoFlockLock($LockFileHandle);
}
return($LockFileHandle);
}
-Original Message-
From: Dondi M. Stroma [mailto:[EMAIL PROTECTED]
Sent: Friday, April 13, 2007 1:27 PM
To: Justin Luster
Subj
perl.plover.com/yak/flock/samples/slide001.html
I learned about locking a lock file and not using LOCK_UN;
Thanks,
Justin
-Original Message-
From: Robert Landrum [mailto:[EMAIL PROTECTED]
Sent: Friday, April 13, 2007 3:16 PM
To: Justin Luster
Cc: 'Dondi M. Stroma'; [EMAIL PROTEC
.
Thanks for your help,
Justin
-Original Message-
From: Robert Landrum [mailto:[EMAIL PROTECTED]
Sent: Friday, April 13, 2007 3:16 PM
To: Justin Luster
Cc: 'Dondi M. Stroma'; modperl@perl.apache.org
Subject: Re: Lock Files - File is permanently locked
Justin Luster wrote:
&g
Allow from all
Thanks for your help,
Justin
rking just fine under Mod_Perl 1, any idea why
things might be different in Mod_Perl 2?
Thanks,
Justin
-Original Message-
From: Philippe M. Chiasson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 7:19 PM
To: Justin Luster
Cc: modperl@perl.apache.org
Subject: Re: File
how errors when run under Mod_Perl 2.0 Apache 2.0.
Does anyone know what might have changed in Mod_Perl 2.0 to have caused
this problem?
Thanks for your help,
Justin
Here is my test script:
my $strCGIPath = "";
if ((exists($ENV{'SCRIPT
I'm not closing the file on purpose to try and simulate an error
condition. My main question is why would it work differently from
mod_perl 1.0 to 2.0?
Thanks,
Justin
-Original Message-
From: Foo JH [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 20, 2007 7:15 PM
To: Justin Lust
s opened it still
reads the first line. When I move into Mod_Perl two this test case
fails. The 2nd time the file is opened it does not start reading at the
top of the file but starts reading the 2nd line etc.
Thanks,
Justin
-Original Message-
From: Foo JH [mailto:[EMAIL PROTECTED]
Sen
!
Thanks!
- Justin
_
Local listings, incredible imagery, and driving directions - all in one
place! http://maps.live.com/?wip=69&FORM=MGAC01
to do? Would upgrading mod_perl be the best thing?
with regards
Justin Wyllie
e. [EMAIL PROTECTED]
s used to
serve one request completely and then the next. If this is the case then it
seems that LAST_INSERT_ID would be reliable.
I hope that makes some kind of sense and thanks for any help
Justin Wyllie
rming?
Thanks
Justin
On Wed, Dec 10, 2008 at 1:22 PM, Enno <[EMAIL PROTECTED]> wrote:
yes, but, do you really want to gamble that the second request is handled
by
the same child process? and what if another request comes in between?
I think you're misunderstanding his question.
Hi Sean
Mason is good. It enables you to do Perl scripting inline in html files.
masonhq.com
Justin
- Original Message -
From: Sean Davis
To: prabap...@yahoo.co.in
Cc: modperl@perl.apache.org
Sent: Monday, February 16, 2009 2:41 PM
Subject: Re: Reg Web Page Creation in
ld need to be in scope for the whole script..
Thanks
Justin
he - url1 or url2? Since it is url2 in the response
headers surely url2?
Many thanks
Justin Wyllie
oaded modules, where is it all comming from?
many thanks
Justin Wyllie
ning the package MyClass is loaded into the
apache/mod_perl process does $var ever go out of scope once set? I think
not - and it's memory is never freed? if this is correct and I used my
instead even then would it go out scope ?
Thank you for your patience.
regards
Justin
> Hi Ju
of these bear any relation to mod_perl's shared memory which you can
use by preloading modules at startup?
Sorry; I am a complete beginner at this
Thanks
Justin
(ps this is sent from my work account for this mailing list
justin.wyl...@sophos.com )
> Hi Justin
>
>>
&g
I'm writing to see if there has been any progress made against Bug #7529
for Apache-AuthenNTLM: Authentications
https://rt.cpan.org/Public/Bug/Display.html?id=7529
Thanks.
Justin
52 matches
Mail list logo