uninstalling apache 1x & mp1 on linux

2003-11-18 Thread Tim
over, how does one go about wiping them off first? TIA Tim -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

"mod_perl.c" is not compatible with this version of Apache (found 20020628, need 20020903)

2004-05-10 Thread Tim Huffman
le to find. I got it at http://www.apache.org/~gozer/mp2/   -Tim  

RE: "mod_perl.c" is not compatible with this version of Apache (found 20020628, need 20020903)

2004-05-10 Thread Tim Huffman
need to uninstall the RPMs before I build from source? I'm also running Cacti/MySQL on this server (also installed from RPMs), are they going to break if I build from source? Thank you very much for your help! -Tim -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://pe

MP2: Simple config question...

2004-08-11 Thread Tim Howell
I've just installed Apache2 and mod_perl2. I'm not quite sure what I need to add to my httpd.conf to enable mod_perl on a directory. I'm not doing anything fancy--I just want to have a directory where scripts are executed with mod_perl rather than traditional CGI. I've read the docs and configur

MP2: Second easy question: DB connection pooling

2004-08-13 Thread Tim Howell
I've seen conflicting information in docs, websites, lists archives, etc. Is there currently a way to do database connection pooling with mod_perl2? I have tried using Apache::DBI with a use statement in my startup.pl but that doesn't seem to work. Using PerlModule Apache::DBI in my httpd.conf d

OT: mod_ssl list...

2004-10-15 Thread Tim Howell
Sorry for the off-topic post, but I'm having some trouble subscribing to the mod_ssl list and thought someone here might have additional information. Does the mod_ssl list still exist? I've tried subscribing both from the web and by sending an email to [EMAIL PROTECTED] but after fifteen hoursI h

Securing two scripts with mod_ssl

2004-10-27 Thread Tim Howell
I've got several applications running under mod_perl 1.99. Two of my scripts need to be secured using mod_ssl. I think that I have things mostly setup correctly, and my server now allows me to request any document/script that was previously available over either a regular or secure connection. I

RE: Securing two scripts with mod_ssl

2004-10-27 Thread Tim Howell
Philippe M. Chiasson wrote: : Tim Howell wrote: :: I've got several applications running under mod_perl 1.99. Two of my :: scripts need to be secured using mod_ssl. I think that I have things :: mostly setup correctly, and my server now allows me to request any :: document/script tha

Segmentation fault with mod_perl 1.29, Apache 1.3.33

2004-11-12 Thread Tim Evans
] [notice] child pid 28732 exit signal Segmentation fault (11) Rebuilding apache w/o mod_perl allows Apache to return pages. -- Tim Evans, TKEvans.com, Inc.|5 Chestnut Court [EMAIL PROTECTED] |Owings Mills, MD 21117 http://www.tkevans.com/ |443-394-3864 http

Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-13 Thread Tim Evans
, (index.lori.html) croaks mod_perl; the second (anlgform.html) does not. If I remove the bogus 'mm:layoutgroup="true"' element, the first file serves fine. With it, apache seg faults. Tim Evans, TKEvans.com, Inc.|5 Chestnut Court [EMAIL PROTECTED]

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-15 Thread Tim Evans
(argc=1, argv=0xb974) at http_main.c:5574 #2 0x0807940f in parse_byterange (r=0x1, start=0xb974, end=0xb97c) at http_protocol.c:152 #3 0x40098777 in ?? () -- Tim Evans, TKEvans.com, Inc.|5 Chestnut Court [EMAIL PROTECTED] |Owings Mills, MD 21117 http://w

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-15 Thread Tim Evans
apache--no other non-default modules. BTW, I have reproduced this on a more modern Linux, RedHat Enterprise WS, kernel 2.4.21-20.EL -- Tim Evans, TKEvans.com, Inc.|5 Chestnut Court [EMAIL PROTECTED] |Owings Mills, MD 21117 http://www.tkevans.com/ |443-394-

Re: Bug Report: seg fault with 1.2

2004-11-15 Thread Tim Evans
able-rule=EXPAT" \ "--enable-shared=perl" \ >Also, take a look at: >http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_php >to see if it makes any difference. Later today. -- Tim Evans, TKEvans.com, Inc.|5 Chestnut Court [EMAIL PROTECTED]

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-16 Thread Tim Evans
Here's something more of interest (more than a year old, but the described symptons are spot-on: http://www.phpbuilder.com/lists/php-install/2003092/0018.php -- Tim Evans, TKEvans.com, Inc.|5 Chestnut Court [EMAIL PROTECTED] |Owings Mills, MD 21117

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-16 Thread Tim Evans
ad this as an either redo perl as above or do this, but not both. -- Tim Evans, TKEvans.com, Inc.|5 Chestnut Court [EMAIL PROTECTED] |Owings Mills, MD 21117 http://www.tkevans.com/ |443-394-3864 http://www.come-here.com/News/ | -- Report problems: http://

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-19 Thread Tim Evans
in ?? () Cannot access memory at address 0xc000 (gdb) At this point, my client has instructed me to stop burning billable hours on this project--initial goal was to get an application called Request Tracker (http://www.bestpractical.com/rt/) running. I cannot disable PHP for this pro

Re: Bug Report: seg fault with 1.29/Apache 1.3.33/RedHat 7.1

2004-11-20 Thread Tim Evans
Static or dynamic makes no difference. -- Tim Evans, TKEvans.com, Inc.|5 Chestnut Court [EMAIL PROTECTED] |Owings Mills, MD 21117 http://www.tkevans.com/ |443-394-3864 http://www.come-here.com/News/ | -- Report problems: http://perl.apache.org/bugs/ Mai

[mp2] message about Invalid command 'PerlSwitches' during make test

2003-10-16 Thread Tim Smith
log wasn't created, start the server in the debug mode) make: *** [run_tests] Error 143 I haven't had much success finding previous threads about this problem and would appreciate any help. Thanks, Tim

RE: [mp2] message about Invalid command 'PerlSwitches' during make test

2003-10-16 Thread Tim Smith
I'm not exactly sure how to do that for this situation. If you could give me an exact statement that would be helpful. Thanks for your help, Tim 2. Used Components and their Configuration: *** mod_perl version 1.9910 *** using lib/Apache/BuildConfig.pm *** Makefile.PL opti

RE: [mp2] message about Invalid command 'PerlSwitches' during make test

2003-10-17 Thread Tim Smith
I built it like this (with MP_USE_STATIC) - perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/usr/local/apache2 MP_USE_STATIC=1 The results of t/TEST -trace=debug -config ==> unable to locate mod_perl.so (could be a static build) So it would appear that I want to build mod_perl without the MP_USE_STATIC=1, is that correct? Thanks again, Tim

RE: [mp2] message about Invalid command 'PerlSwitches' during make test

2003-10-17 Thread Tim Smith
That did it! Thanks for all your help. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 1:31 PM To: Tim Smith Cc: [EMAIL PROTECTED] Subject: Re: [mp2] message about Invalid command 'PerlSwitches' during make test Tim S

Persisting data across authenticate <-> authorize ?

2004-12-10 Thread Tim Pushor
ions over. I am already using IPC::Shareable in the authentication handler and would prefer to not use that mechanism. Is there a way to have the data persist across the authenticate/authorize parts of the module? Thanks! Tim -- Report problems: http://perl.apache.org/bugs/ Mail list

Re: Persisting data across authenticate <-> authorize ?

2004-12-10 Thread Tim Pushor
Perrin Harkins wrote: Hi Tim, Welcome to mod_perl! Thanks Perrin! I would like to cache this information somehow so that the authorization handler doesn't need to perform these operations over. Put it in $r->pnotes() and it will be available in later phases. Could I not ju

Re: Persisting data across authenticate <-> authorize ?

2004-12-13 Thread Tim Pushor
tiple db's to reduce lock contention. To really be honest, I have never really used shared memory much (in any programming language) so I don't really understand the main issues - but I thought locking (in the perl module) was done with semaphores... Thanks, Tim -- Report problems: htt

Re: Persisting data across authenticate <-> authorize ?

2004-12-13 Thread Tim Pushor
d telling IPC::Shareable to not bother serializing it (I thought I read that this module could do that, but perhaps I was mistaken (maybe I was incorrectly thinking of Cache::FastMmap). Thanks, Tim -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/m

mod_perl/FreeBSD Bug

2005-01-20 Thread tim . coggins
must come after the 'set' subroutine as they call it. We are therefore in a situation where on FreeBSD if we use mod_perl as a DSO the server crashes and if we compile it in with Apache data gets corrupted. We have tested this on vanilla and FreeBSD ports builds. None of these bugs are

[mp2] lifetime of Apache2::RequestRec

2005-07-20 Thread Tim Esselens
0x1 [req 1 child 2] 0x2 [req 2 child 1] 0x2 [req 2 child 2] ... So I was wondering wether or not this is normal behaviour. (The Apache2::RequestRec is only re-new()ed every n-hits, n being the number of apache children) And where I could find out more about why it's doing this.

Re: [mp2] lifetime of Apache2::RequestRec

2005-07-20 Thread Tim Esselens
;s > not freed) that's why you should not use fileuploads with mod_perl. I see, so it might not be such a good idea to use Cache::Cache or does it's purge method really deallocate the memory? > Tom -- kind regards, Tim

Re: [mp2] lifetime of Apache2::RequestRec

2005-07-20 Thread Tim Esselens
ALAR(0x922937c) 26700 Apache2::RequestRec=SCALAR(0x922937c) 26702 Apache2::RequestRec=SCALAR(0x922937c) 26704 Apache2::RequestRec=SCALAR(0x922937c) - my apache has 10 children at the moment 26687 Apache2::RequestRec=SCALAR(0x9193884) - stays the same for another 9 hits, then changes again > Tom -- kind regards, Tim Esselens

[mp2] Apache2::Reload using runtime PerlResponseHandlers

2005-07-20 Thread Tim Esselens
return 0 } If I change the "hello world" string, the module gets reloaded ok, but I presume the $coderef is pointing to the wrong piece of code? I've also tried: if(my $coderef = eval { $mod->can($sub) }) { ... } but with no difference. -- kind regards, Tim Esselens

Re: [mp2] Apache2::Reload using runtime PerlResponseHandlers

2005-07-20 Thread Tim Esselens
s or use a > method name instead of a code ref. > if ($mod->can($sub)) { > $r->set_handlers(PerlResponseHandler => join '::', $mod, $sub); > } The init handlers were in the right order, but your suggestion of using a method name worked like a charm. Thanks! -- kind regards, Tim Esselens

Re: [mp2] lifetime of Apache2::RequestRec

2005-07-21 Thread Tim Esselens
es of $r start to change in a more random fashion. -- kind regards, Tim Esselens

[mp2] Method Handlers creating a new object vs ref

2005-07-21 Thread Tim Esselens
ed? AFAIK $_[0] will never be a reference. kind regards, Tim Esselens

Re: [mp2] Method Handlers creating a new object vs ref

2005-07-21 Thread Tim Esselens
ew"; $self = $self->new; } } And I've never seen a situation where 'self was a ref' could you please enlighten me. > --Geoff -- kind regards, Tim Essselens

Re: [mp2] Method Handlers creating a new object vs ref

2005-07-21 Thread Tim Esselens
ever seen it used in real life like that - certainly not by me. but > maybe ask or someone else has :) OK, one more mystery solved. On a sidenote, I've bought mod_perl cookbook, very nice to be talking to one of the people involved, your work is very much appreciated! > --Geoff -- kind regards, Tim Esselens

[mp2] Runtime PerlResponseHandler

2005-07-22 Thread Tim Esselens
special I need to do when I'm in my Dispatcher's handler? (ie: return DECLINED or something similar to force processing of other handlers maybe? I'm clueless) -- kind regards, Tim Esselens

Re: [mp2] Runtime PerlResponseHandler

2005-07-22 Thread Tim Esselens
really solve my problem since my Dispatcher gets hit too early in the chain, the code behind it (CGI::Builder::Magic) doesn't get the template name (index.phtml). I'm presuming this is because the uri (/) isn't translated to the directoryindex (/index.phtml) yet. I'll report back If I have any more clues. > --Geoff -- kind regards. Tim Esselens

Re: [mp2] Runtime PerlResponseHandler

2005-07-22 Thread Tim Esselens
sume that since the Dispatcher is called from PerlInitHandler, $r->filename is still pointing to / ? -- kind regards, Tim Esselens

Re: [PATCH] DBI::ProfileDumper::Apache ported to mp2 RC5+

2005-08-21 Thread Tim Bunce
his and add it to the documentation? (including the error message) Then send me an updated patch. Thanks Philip! Tim.

Re: [PATCH] DBI::ProfileDumper::Apache ported to mp2 RC5+

2005-08-31 Thread Tim Bunce
tant again. It's already loaded by DBI::Profile and the perl compiler can use constants to completely eliminate code for statements like if(){} blocks it knows won't be entered. I also tweaked the $ENV{MOD_PERL_API_VERSION} test to avoid undef warnings. Thanks. Tim. > I tweaked this to be s

Re: Apache::DBI and DBD::Pg

2006-01-15 Thread Tim Bunce
tter, way is to use prepare_cached() along with connect_cached(). http://search.cpan.org/src/TIMB/DBI_AdvancedTalk_2004/sld029.htm and later slides. Tim.

Re: Apache::DBI and DBD::Pg

2006-01-17 Thread Tim Bunce
s loaded before DBI, or if you do $DBI::connect_via = "Apache::DBI::connect"; Tim.

Re: mod_perl2 DBI handle freshining problem solved "once and for all"...

2006-02-01 Thread Tim Bunce
s my PerlPostConfigHandler: > [...] > - use this as my PerlPreConnectionHandler: > [...] Seems like hack without actually identifying the source of any problem in the existing DBI or Apache::DBI code. With a little more digging I'm sure you could identify _why_ Apache::DBI::connect is giving you back a dead handle. Fixing that would 'help save the world' for countless other users. Can you try that? Tim.

Re: mod_perl2 DBI handle freshining problem solved "once and for all"...

2006-02-02 Thread Tim Bunce
be reasonable for Apache::DBI to provide a way for applications to call disconnect() and have it actually disconnect. > Yeah, I ditched Apache::DBI early in diagnosing this problem. Then I > wrote that hack to solve it, which is what has started this whole thread. I > was happy just posting the hack and leaving it at that, but you guys keep > egging me on ;-) Like detectives egging on the chief witness :) Tim.

Re: Protecting source code

2006-08-25 Thread Tim Pushor
l level of security provided by those steps .. Tim

Access to Request Body

2008-04-28 Thread Tim Gustafson
on a CentOS 5.1 box. Thanks! Tim Gustafson SOE Webmaster UC Santa Cruz [EMAIL PROTECTED] (831) 459-5354

RE: Access to Request Body

2008-04-28 Thread Tim Gustafson
Hrmm, that doesn't seem to work. In my code, I have: print $fh $r->body . "\n"; And in my error log, I get: Can't locate object method "body" via package "Apache2::RequestRec" at /var/www/lib/Log.pm line 31. Tim Gustafson SOE Webmaster UC

Getting NYTProf to work with vhosts that use PerlOptions +Parent

2010-04-28 Thread Tim Bunce
uot;. I can use $s->next (after require Apache2::ServerRec) to iterate over the vhosts but I can't see a way to find "my" vhost. Is there one? What I'm looking for is some way for *a specific vhost perl interpreter* to run code at PerlChildExitHandler *in that interprete

Re: Getting NYTProf to work with vhosts that use PerlOptions +Parent

2010-04-29 Thread Tim Bunce
On Wed, Apr 28, 2010 at 11:25:14PM -0400, Adam Prime wrote: > Maybe you could try doing the push_handler for the ChildExitHandler > when the ChildInitHandler executes? Just a shot in the dark. Umm, but how to I get the ChildInitHandler handle to use the right perl interpreter? Tim.

Re: Getting NYTProf to work with vhosts that use PerlOptions +Parent

2010-04-30 Thread Tim Bunce
On Thu, Apr 29, 2010 at 04:02:05PM -0700, Fred Moyer wrote: > On Thu, Apr 29, 2010 at 4:39 AM, Tim Bunce wrote: > > On Wed, Apr 28, 2010 at 11:25:14PM -0400, Adam Prime wrote: > >> Maybe you could try doing the push_handler for the ChildExitHandler > >> when the ChildIn

Re: [PATCH] END blocks may segfault

2010-06-30 Thread Tim Bunce
ay. When there are no more items in the main array it would copy the items back again (av_make() is handy for that). Tim.

Re: [PATCH] END blocks may segfault

2010-06-30 Thread Tim Bunce
On Wed, Jun 30, 2010 at 09:24:42AM -0600, Alex Hunsaker wrote: > On Wed, Jun 30, 2010 at 02:49, Tim Bunce wrote: > > On Tue, Jun 29, 2010 at 09:50:00PM -0700, Fred Moyer wrote: > >> I think getting rid of the segfault is a good thing.  But if the main > >> problem is i

mod_perl output filter and mod_proxy, mod_cache

2011-07-14 Thread Tim Watts
er on Apache 2.2 *between* mod_proxy and mod_cache? Or am I going to have to implement a filter that includes proxying and/or caching? Many thanks for any advice, Cheers, Tim -- Tim Watts Personal Blog: http://www.dionic.net/tim/

Re: mod_perl output filter and mod_proxy, mod_cache

2011-07-14 Thread Tim Watts
cat as a little, rather inefficient, black box and try to fixup on the apache front ends, hence the direction of my original idea... Cheers, Tim -- Tim Watts Personal Blog: http://www.dionic.net/tim/

Re: mod_perl output filter and mod_proxy, mod_cache

2011-07-14 Thread Tim Watts
On 14/07/11 11:52, "Alex J. G. Burzyński" wrote: Hi Tim, If you are after caching the responses, maybe an easier solution would be to use a reverse proxy - like Varnish? You would be then in complete control over the incoming and outgoing headers and could cache responses based

Re: mod_perl output filter and mod_proxy, mod_cache

2011-07-14 Thread Tim Watts
ption. And it is certainly a good tool to have in one's toolcase. I agree - I'll have a look at that after I play with Alex's suggestion of Varnish :) Thanks very much for your time :) all the best, Tim -- Tim Watts Personal Blog: http://www.dionic.net/tim/

Re: mod_perl output filter and mod_proxy, mod_cache

2011-07-14 Thread Tim Watts
On 14/07/11 14:38, André Warnier wrote: Tim Watts wrote: ... "I think for this problem, I have to treat tomcat as a little, rather inefficient, black box .." They liked that quote then? ;->>>> I'm sure it's a lovely development environment (there mu

Re: mod_perl output filter and mod_proxy, mod_cache

2011-07-14 Thread Tim Watts
"output filter" should always run /after/ any modules which generate content. So, it is probably difficult to have a filter which runs /in-between/ other Apache modules. I'm still going to have a look at mod_perl filters - I have a feeling they could be useful here and there. Thanks :) Tim -- Tim Watts Personal Blog: http://www.dionic.net/tim/

[mp2] local %ENV causes $ENV{MOD_PERL} etc. to disappear on later requests

2014-06-05 Thread Tim Retout
=> $ENV{MOD_PERL}\n"; warn "MOD_PERL_API_VERSION => $ENV{MOD_PERL_API_VERSION}\n\n"; $r->content_type("text/plain"); return Apache2::Const::OK; } 1; -- Tim Retout Development Manager, CV-Library

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-12 Thread Tim Lank
ariables that might be needed by DBI/mysql and > might not get passed through to the child process? > > On Thu, Oct 10, 2024 at 11:02 AM Tim Lank wrote: > >> Thanks Ed. I'll add it and see if it helps. My load testing phase is >> already completed, but I may get a chan

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-10 Thread Tim Lank
=mysql_native_password Ref: https://dev.mysql.com/blog-archive/upgrading-to-mysql-8-0-default-authentication-plugin-considerations/ On Mon, Oct 7, 2024 at 7:28 PM Tim Lank wrote: > Good point. I’ll try to ratchet up the debugs on those to see if anything > pops out > > On Mon, Oct 7, 2024 at 6:58 P

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-07 Thread Tim Lank
; Without the ability to consistently reproduce the issue all we can really > do is look at the code and make educated guesses. > > Adam > > On Oct 7, 2024, at 5:56 PM, Tim Lank wrote: > >  > > You don't often get email from timl...@timlank.com. Lear

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-07 Thread Tim Lank
-not-loaded > > On Mon, Oct 7, 2024, 4:56 PM Tim Lank wrote: > >> Apache::DBI experts: >> >> I have the following in my startup.pl: >> >> use CGI qw(:all); >> use CGI::Carp 'fatalsToBrowser', 'carpout'; >> use List::Util &#x

Apache::DBI - consistently encountering about a .00667% error rate

2024-10-07 Thread Tim Lank
n the log. Can someone clue me in on what to do in order to try and eliminate any of the errors from happening when doing a load test like this? Server Version: Apache/2.4.57 (AlmaLinux) OpenSSL/3.0.7 mod_perl/2.0.12 Perl/v5.32.1Server MPM: eventServer version: 8.0.39 MySQL Community Server - GPL Thanks,Tim

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-10 Thread Tim Lank
Thanks Ed. I'll add it and see if it helps. My load testing phase is already completed, but I may get a chance to retest next year. On Thu, Oct 10, 2024 at 6:32 AM Edward J. Sabol wrote: > On Oct 7, 2024, at 5:55 PM, Tim Lank wrote: > > I have the following in my startup.pl: