Using ENV{'TZ'} in mod_perl

2006-09-20 Thread Tyler
, etc) but still can’t get it to work.    Does anyone have any recommendations, or thoughts?   Thank you in advance, Tyler Fullerton.  

RE: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Tyler
I’m still not able to use $ENV{TZ} to modify the behavior of localtime in a cgi script.  Is there some sort of limitation with cgi scripts run under mod_perl (specifically: PerlRun) that would prevent this from working?   Thank you, Tyler Fullerton.   From: Garrett, Philip (MAN

RE: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Tyler
beneficial to put code in a PerlFixUpHandler that sets the time zone data?   Thank you for your help,   Tyler Fullerton.     From: Garrett, Philip (MAN-Corporate) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:14 AM To: Tyler; modperl@perl.apache.org Subject: RE: Using

RE: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Tyler
Another thing I just noticed is that you ran your tests under Apache::PerlRun, my mod_perl installation is using as its PerlResponseHandler ModPerl::PerlRun. What's the difference between the two? Thank you, Tyler. -Original Message- From: Garrett, Philip (MAN-Corporate) [mailto:[

mod_perl object persistance..object web server?

2004-04-28 Thread Tyler Rorabaugh
Anyone know of examples of mod_perl Object persistance across multiple servers or of availble Mod_perl object application servers? -tr  

Hanging Apache && Oracle Sessions with Apache::DBI, Apache::SessionManager, Oracle 9i,

2004-12-07 Thread Tyler Rorabaugh
method (default). Setting the timeout < 0 will de-acti-   vate the validation of the database handle. This can be used for   drivers, which do not implement the ping-method. Setting the timeout >   0 will ping the database only if the last access was more than timeout   seconds before.     Any help would be appreciated   Sincerely Yours, Tyler Rorabaugh                            

Hanging Apache && Oracle Sessions with Apache::DBI, Apache::SessionManager, Oracle 9i,

2004-12-08 Thread Tyler Rorabaugh
method (default). Setting the timeout < 0 will de-acti-   vate the validation of the database handle. This can be used for   drivers, which do not implement the ping-method. Setting the timeout >   0 will ping the database only if the last access was more than timeout   seconds before.     Any help would be appreciated   Sincerely Yours, Tyler Rorabaugh                            

segfault in 2.0RC1, didn't happen in 1.99_16?

2004-12-24 Thread Tyler MacDonald
-8<-- Start Bug Report 8<-- 1. Problem Description: Hello, I just tried an upgrade to 2.0RC1... only to have to back out. All of my scripts run fine, except for one -- which exits with a segmentation fault reliably. The segfault h

Re: segfault in 2.0RC1, didn't happen in 1.99_16?

2004-12-24 Thread Tyler MacDonald
> Tyler, have you by chance read: > http://perl.apache.org/docs/2.0/user/help/help.html#Resolving_Segmentation_Faults > plus the short script that we can reproduce the problem with. Maybe... I'll look into it in more detail later. My main point was that no segmentation f

bizarre mp2 behaviour

2005-10-26 Thread Tyler MacDonald
aces instead of Apache:: namespaces. Any help at all would be appreciated. Thanks, Tyler

Re: bizarre mp2 behaviour

2005-10-29 Thread Tyler MacDonald
Philip M. Gollucci <[EMAIL PROTECTED]> wrote: > Tyler MacDonald wrote: > >Global symbol "$r" requires explicit package name at > >/opt/weedns-4/skins/yi/perl5lib/yi/page/css.pm line 16.\nCompilation failed > >in require at /opt/weedns-4/skins/yi/htdocs/css.pl

Re: bizarre mp2 behaviour

2005-10-29 Thread Tyler MacDonald
Philip M. Gollucci <[EMAIL PROTECTED]> wrote: > Tyler MacDonald wrote: > >17 -$r->print(" >HREF=\"/yi.css\" />\n"); > I know this doesn't answer your question, but it popped out at me that > you're using xhtml /> syntax, but

registry agony continues...

2005-10-29 Thread Tyler MacDonald
uot;my()" in HTTP::Request...!!!: my($class, $method, $uri, $header, $content) = @_; Thanks, Tyler 2. Used Components and their Configuration: *** mod_perl version 2.02 *** using /opt/apache2/perl5lib/i486-linux-gnu-thread-multi/Apache2/BuildConfig.pm *** M

Apache::Test and Devel::Cover

2005-10-30 Thread Tyler MacDonald
ES} =~ m{Devel::Cover} ) { eval "use Devel::Cover;"; } Is this the cleanest way to accomplish this? Ideally I would have liked something that could be done with any mod_perl module without adding code to the test suite itself... any ideas? Thanks, Tyler

Re: Apache::Test and Devel::Cover

2005-10-30 Thread Tyler MacDonald
Disregard, I just searched the archives and apparently just before I subscribed to the list Phillippe announced the 'testcover' parameter... which is documented in Apache::TestMB, but not yet in Apache::TestMM :-/ - Tyler Tyler MacDonald <[EMAIL PROTECTED]> wrote: >

Re: Apache::Test and Devel::Cover

2005-10-30 Thread Tyler MacDonald
vel::Cover to my PerlSwitches. Then everything was happy. :-) Do you think it would be a good idea to have "make testcover" add -MDevel::Cover into the httpd.conf for us? I just started playing with Apache::Test tonight so I'm not too sure how easy/advisable this would be... Cheers, Tyler

ModPerl::PackageRegistry 0.01 released (was Re: registry agony continues...)

2005-10-31 Thread Tyler MacDonald
3 years under mod_per 1.99. It wasn't until the move to mod_perl 2.0.2 these strangeness started appearing. And if I get rid of ModPerl::Registry and precompile everything, well, I've been tailing my access_log for two days and haven't seen a single unexpected error 500 yet. :-) - Tyler

Re: registry agony continues...

2005-10-31 Thread Tyler MacDonald
The problem is with compiling code after the apache server has already started (ModPerl::Registry, maybe eval qq{} as well, not sure); if I compile everything during the startup phase, everything's happy. - Tyler

Re: registry agony continues...

2005-10-31 Thread Tyler MacDonald
Perrin Harkins <[EMAIL PROTECTED]> wrote: > That's pretty strange. I've only seen errors like this before once, and > that was on a Win32 system running ActiveState's PerlEX on IIS. At the > time, I thought it might be a threading issue. Are you using a threaded > MPM? I see that your Perl was

Re: ModPerl::PackageRegistry 0.01 released (was Re: registry agony continues...)

2005-10-31 Thread Tyler MacDonald
nside one class, different index handling, and some interesting looking pre/post hook stuff, no visible support for mixing static and dynamic content) so I don't feel like I've completely wasted my time writing this... not that I would have anyways, I learned a thing or two as well! Cheers, Tyler

Re: Error while using Apache2::Reload

2005-10-31 Thread Tyler MacDonald
our original source directory, "make uninstall" should do it. If not, on my system, the .packlist files get stuck in /usr/local/lib/perl/5.8.7/auto/... and it looks like you can just do something like; cat /usr/local/lib/perl/5.8.7/auto/Devel/Cover/.packlist | xargs rm -vf But I'd try "make uninstall" first. - Tyler

Re: registry agony continues...

2005-11-01 Thread Tyler MacDonald
Tyler MacDonald <[EMAIL PROTECTED]> wrote: > I'm going to test this extensively this weekend if I get the time, > including testing it on another system. Unfortuantely the other system is > also perl 5.6.7, httpd 2.0.55, linux 2.6, so if I get the same problems mo

Re: TZ variable and mod_perl

2005-11-02 Thread Tyler MacDonald
:C::setenv('TZ', $tz); $ENV{TZ} = $tz; POSIX::tzset(); } Cheers, Tyler

Re: Error while using Apache2::Reload

2005-11-02 Thread Tyler MacDonald
e, so it's > hard to be sure that you got everything related to the previous Apache2 > build. "make uninstall" / ExtUtils::Install::uninstall(/path/to/.packlist) aren't official? I suppose you'd have to have the old pacakage's source tree still laying around... - Tyler

Re: registry agony continues...

2005-11-04 Thread Tyler MacDonald
Tyler MacDonald <[EMAIL PROTECTED]> wrote: > > Can you try this on another system? That would tell you whether or not > > there is truly anything wrong with the code, or if you should be looking > > at reinstalling this system. > I'm going to test this exten

Re: mod_perl and multi user environment - clashes with other users's data

2005-12-01 Thread Tyler MacDonald
l variable, otherwise you could facing other rendering and security problems as well. - Tyler

Re: mod_perl and multi user environment - clashes with other users's data

2005-12-01 Thread Tyler MacDonald
have them as a global). It's always a good practice to avoid using global variables unless you absolutely have to... local variables make it easier to reuse bits and pieces of your code elsewhere, as well as giving you the added security of knowing that your data isn't lurking around long after you're done with it. - Tyler

Re: Time::localtime under mod_perl2 showing output in client-side time zones

2005-12-01 Thread Tyler MacDonald
y_old_timezone; POSIX::tzset(); return DECLINED; } That way, your logs will remain in your system's timezone. Cheers, Tyler

Re: mod_perl 1.29 and apache 1.3 segfaults

2005-12-15 Thread Tyler MacDonald
o think it was something quirky about our homebrew apache/mod_perl configurations (build scripts attached), but it could be something weird with debian or just with how apache or mod_perl in general interact with it. I'm starting to think it's more debian's fault, since you're using apa

Re: Hitting head against wall: can't get perl to execute file

2005-12-30 Thread Tyler MacDonald
your web root and you want to run their handlers) I'd use something like this, with ModPerl::PackageRegistry: PerlModule ModPerl::PackageRegistry SetHandler perl-script PerlResponseHandler ModPerl::PackageRegistry PackageNamespaceMy::Site Cheers, Tyler

Re: Found it !!! Why is my apache parent process growing...

2006-01-03 Thread Tyler MacDonald
blem under a normal perl, but when he recompiled his perl to use FreeBSD's malloc (rather than perl's own), the problem went away; he could restart apache 100,000 times with no memory leak. - Tyler

Re: PerlAuthenHandler question

2006-01-06 Thread Tyler MacDonald
is: > > if ($user) { > return Apache2::Const::OK; To: if(ISST::User->getLoggedIn($r)) { return Apache2::Const::OK; Cheers, Tyler

Re: MP2 Problem including local file

2006-01-09 Thread Tyler MacDonald
irectory of your ServerRoot... i'm not sure, but it looks like you are putting "database_util.pl" into your DocumentRoot instead. You could do something like; use Apache2::RequestUtil (); require $r->document_root . "/database_util.pl"; Cheers, Tyler

Re: newbie installation trouble

2006-01-11 Thread Tyler MacDonald
timeout high, er, setting it to a high value and see if the tests eventually kicked in? Cheers, Tyler

Apache::DBI and DBD::Pg

2006-01-13 Thread Tyler MacDonald
while processing the request. Here's what I'm using: DBI - 1.48 DBD::Pg - 1.42 mod_perl2 - 2.01 Apache::DBI - 0.9901 Has anybody run into this before? Any known workarounds/config changes I need? Thanks, Tyler

Re: Apache::DBI and DBD::Pg

2006-01-16 Thread Tyler MacDonald
Perrin Harkins <[EMAIL PROTECTED]> wrote: > Tyler MacDonald wrote: > >[Fri Jan 13 23:46:28 2006] [error] [client 192.168.99.112] DBD::Pg::db > >prepare_cached failed > > Do you only have the problem with prepare_cached? Can you replicate it > in a small script t

Re: Apache::DBI and DBD::Pg

2006-01-16 Thread Tyler MacDonald
l... Could this be part of the problem? Does Apache::DBI interfere with DBI->connect_cached or vice-versa? - Tyler

Re: Apache::DBI and DBD::Pg

2006-01-16 Thread Tyler MacDonald
back" does the transaction actually close on the db server: http://search.cpan.org/~CRAKRJACK/DBIx-Transaction-0.005/ Cheers, Tyler

Re: how to configure the mod_perl to show a jpeg file.

2006-01-19 Thread Tyler MacDonald
he2 request handlers (not registry scripts) bound to URIs, and be able to place your other files (css, jpegs, whatever) alongside your .pm files? If so, take a look at this module: http://search.cpan.org/~CRAKRJACK/ModPerl-PackageRegistry-0.02/ Cheers, Tyler

CSS errors on perl.apache.org

2006-01-24 Thread Tyler MacDonald
File: http://perl.apache.org/style.css Line: 486 Error: Error in parsing value for property 'display'. Declaration dropped. Source File: http://perl.apache.org/style.css Line: 493 It's not a big deal, just thought someone out there should know. :) Cheers, Tyler

Re: CSS errors on perl.apache.org

2006-01-26 Thread Tyler MacDonald
ary > > i'll send a patch Awesome thanks :) I just noticed it because I'm doing a lot of javascript <-> mod_perl work right now... Cheers, Tyler

Re: RegEx Hell

2006-01-31 Thread Tyler MacDonald
hat you're trying to do, I think it's m{^(?:.*/)?([^/]+)$}; After that, the filename itself should be in $1. - Tyler

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

2006-01-31 Thread Tyler MacDonald
delete $drh->{CachedKids}->{$k}; $n++; } } warn "$$: Cleared $n stale postgresql database handle(s).\n" if $n; return DECLINE_CMD; } This seems reasonably robust, after doing something like: # ps ax | grep "postmaster: pmx" | grep -v grep | awk '{print $1}' | xargs kill The first reload is a bit sluggish, but always works. Cheers, Tyler

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

2006-02-01 Thread Tyler MacDonald
through it's code, I must warn you that while I would keep the interface the same, I would change it's behaviour a fair bit (mainly the points listed above). If this is cool with everyone, I'll proceed... if not, there's I'll stick with my hack, there's plenty of other code I could be writing/fixing. :) - Tyler

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

2006-02-01 Thread Tyler MacDonald
abase connections, and I'm not convinced it was a result of an > Apache::DBI bug. I do know that after refactoring my code to not use Apache::DBI at all, and not depend on connect_cached() to behave properly, (adding the PostConfig and PreConnection handlers to be very paranoid about what happens to the handles), the problem has gone away. > I do think it would be cool to change the code in Apache::DBI to use > connect_cached for some of the caching mechanics, although that would > require changes in DBI as well. Hmm. What changes in DBI? Thanks, Tyler

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

2006-02-01 Thread Tyler MacDonald
these last two changes may need to be diagnosed further. > It currently checks to see if you've loaded Apache::DBI and sends all > connect()/connect_cached() calls there, so that would have to be taken > out to avoid a perpetual feedback loop. Aaaah. :) - Tyler

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

2006-02-01 Thread Tyler MacDonald
; method does; the code is run inside an eval; if the sub ref returns true, it's committed, if it returns false or raises an exception, it's rolled back. > Well, the hack may work for you, and that may be all that matters in > your case, but I don't think it's right to make other people think they > need to use that instead of Apache::DBI or connect_cached. I didn't!!! Tim told me to save the world!!! :) - Tyler

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

2006-02-01 Thread Tyler MacDonald
rguing about it. I like a good argument. ;-) - Tyler > > >>> Tyler MacDonald [EMAIL PROTECTED]> 01-Feb-06 17:06 PM >> > > Yeah, I ditched Apache::DBI early in diagnosing this problem. Then I > wrote that hack to solve it, which is what has sta

Re: errors in module.t & others when installing mod_perl

2006-02-01 Thread Tyler MacDonald
install" installed. Then you can just do something like: cat /opt/apache2/perl5lib/i486-linux-gnu-thread-multi/auto/mod_perl2/.packlist | xargs rm -vf To remove those files. - Tyler

Re: mod_perl 2.0.0 + Apache 2.0.55 on Cygwin Win2k3

2006-02-16 Thread Tyler MacDonald
ry hard at work and aren't going anywhere soon. And when they do, it'll just be to another office. The IT teams are working hard to make sure that neither ActiveState or Sophos' services are interrupted while the pieces of infrastructure we have in common are being divvied up. :) - Tyler

Re: mod_perl 2.0.0 + Apache 2.0.55 on Cygwin Win2k3

2006-02-16 Thread Tyler MacDonald
Vancouver, BC, Canada. - Tyler

Re: A question for the newbies

2006-02-16 Thread Tyler MacDonald
nd not some contrived thing, try Mason. I don't actually use the stuff myself, but it looks a hell of a lot more simple and elegant than TT. :) - Tyler

Re: A question for the newbies

2006-02-16 Thread Tyler MacDonald
http://perldesignpatterns.com/perldesignpatterns.html And this is useful too: http://www.oreilly.com/catalog/perlbp/ - Tyler

How to require an MB subclass in a CPAN friendly way?

2006-02-17 Thread Tyler MacDonald
ere a solution that will make sure that a package using a MB subclass from another package installs cleanly out of CPAN, whether or not that subclass is already installed on a system? Thanks, Tyler

Re: [FRIDAY] Trivia Question

2006-02-17 Thread Tyler MacDonald
Mark Galbreath <[EMAIL PROTECTED]> wrote: > Why is brian d joy's name uncapitalized on the cover of the 4th edition of > the Llama book? I always thought it was brian d foy (http://search.cpan.org/~bdfoy/).. and he did it because he likes it that way. :) - Tyler

Re: (slightly OT) postgresql? firebird? mysql?

2006-02-20 Thread Tyler MacDonald
s to a postgres mentor I'd have wasted many more hours on this...) * I dig the elephant logo. - Tyler

any way to stop REDIRECT_ env prefix?

2006-02-21 Thread Tyler MacDonald
my "FOO" environment variable has become "REDIRECT_FOO". Is there any clean way to do this? I've also tried internal_fast_redirect (even though the docs seem to say it's naughty) with the same results. Thanks, Tyler

Re: any way to stop REDIRECT_ env prefix?

2006-02-21 Thread Tyler MacDonald
Tyler MacDonald <[EMAIL PROTECTED]> wrote: > I'm writing a handler whose goal is to set an environment variable, then > issue an internal redirect to another page; > > $r->subprocess_env("FOO", "bar"); > $r->internal_redirect("/somew

Re: find all uninitialized variables?

2006-02-22 Thread Tyler MacDonald
iables" warnings if -w switch is on. If you really want to cause your scripts to crash on every uninitialized variable so you have to go in and fix it, you can do this: use warnings FATAL => 'uninitialized'; Cheers, Tyler

Does a section know where it is?

2006-02-22 Thread Tyler MacDonald
handlers and apache configuration together: use File::Basename (); use File::Spec (); my $me = Apache2::PerlSections->filename; unshift @INC, File::Spec::catfile(File::Basename::dirname($me), "perl5lib"); Thanks, Tyler

Re: find all uninitialized variables?

2006-02-22 Thread Tyler MacDonald
no warnings 'uninitalized'; to each module that you're being annoyed by. - Tyler

Re: Does a section know where it is?

2006-02-22 Thread Tyler MacDonald
(filename and line_num methods), if I cold only get a Apache2::Directive object representing the current section.. - Tyler

Re: Does a section know where it is?

2006-02-22 Thread Tyler MacDonald
You know what? The mod_perl people are freaking geniuses. This works: warn __FILE__, " - ", __LINE__, "\n"; crackerjack:/home/faraway/dev# apache2ctl stop /home/faraway/dev/test.conf - 5 That is so slick! - Tyler Jonathan Vanasco <[EMAIL PROT

Move TestCommon::LogDiff into it's own package?

2006-02-25 Thread Tyler MacDonald
easily re-used anywhere? It's already got a bit of pod, it just needs a few tests and some packaging up and it's ready to go. I'd gladly take this on if I have the authors' blessing. Cheers, Tyler

Module::Build + Apache2 oddity

2006-02-25 Thread Tyler MacDonald
g to do() the _build/notes file to get this config data. Cheers, Tyler

Re: can mp2 flush response output to the client, then continue processing?

2006-03-08 Thread Tyler MacDonald
o the trick: http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlCleanupHandler Cheers, Tyler

Where's M_HEAD?

2006-03-11 Thread Tyler MacDonald
up? It seems like it'd be much more natural for there to be a M_HEAD constnat as well.. Thanks, Tyler

Re: Where's M_HEAD?

2006-03-13 Thread Tyler MacDonald
et Another Mailing List and ask the httpd developers themselves. ;-) Thanks, Tyler

RFC: Apache2-JSONRPC && CGI-JSONRPC

2006-03-14 Thread Tyler MacDonald
hropomorphic way, only on his hind legs, or would he need a pole for each of his hooves? Answers to these and any other questions you think might burn me appreciated. Thanks, Tyler

Apache::Test <-> cpan.testers weirdness

2006-03-16 Thread Tyler MacDonald
AKRJACK/CGI-JSONRPC-0.01/t/CGI-JSONRPC.t Does anybody know what's happening here? Thanks, Tyler

Using Apache::Test outside of a build environment?

2006-04-06 Thread Tyler MacDonald
t any tips? Thanks, Tyler

Find apr-config?

2006-04-10 Thread Tyler MacDonald
w->apr_config_path' Use of uninitialized value in substitution (s///) at i486-linux-gnu-thread-multi/Apache2/Build.pm line 1322. Use of uninitialized value in length at i486-linux-gnu-thread-multi/Apache2/Build.pm line 1323. [EMAIL PROTECTED]:/opt/apache2/perl5lib$ Thanks, Tyler

mod_bt 0.0.14 released

2006-04-20 Thread Tyler MacDonald
ath in APXS's CFLAGS (odd this is neccessary, since even apxs needs apr to function...) o Use $(MAKE) in all makefiles instead of make * mod_bt now has a bugzilla database. Cheers, Tyler

Re: Apache::Session: can I have a "date" in session

2006-04-27 Thread Tyler MacDonald
n/Driver/aus.pm http://search.cpan.org/src/CRAKRJACK/Schema-RDBMS-AUS-0.03/lib/CGI/Session/AUS.pm Cheers, Tyler

Re: putting config vars in httpd.conf

2006-04-27 Thread Tyler MacDonald
in there looks way more complicated than what i could > possibly need > > can anyone point me in the right direction? I really thought PerlSetVar could be done at any phase of a request, but even if it can't, PerlSetEnv can... try using that and $ENV{DEBUG_MY_APP} or something. :-) - tyler

Problems building mod_perl 2.0.2 w/httpd-2.2.2

2006-05-01 Thread Tyler MacDonald
rl that was compiled against 2.2.0 is still working, so it's not a pressing issue for me, but it did seem kind of odd, and I'm not sure if this is a bug with apache or mod_perl. Cheers, Tyler

Re: Reinstall gets Can't locate Apache.pm

2006-05-05 Thread Tyler MacDonald
till getting the same errors on all CGI modules: > "Can't locate Apache.pm". Ack! Before you drive yourself nuts with this, read this page: http://perl.apache.org/docs/2.0/rename.html Cheers, Tyler

Re: Reinstall gets Can't locate Apache.pm

2006-05-05 Thread Tyler MacDonald
you are using, is trying to "use Apache", when it shouldbe "use Apache2::RequestRec" or some such thing. - Tyler

Re: Reinstall gets Can't locate Apache.pm

2006-05-08 Thread Tyler MacDonald
GI had to be updated to support mod_perl2. Cheers, Tyler

Re: mod_perl-2.0.2 + apache 2.2.2

2006-05-23 Thread Tyler MacDonald
old mod_perl in place. I keep meaning to look into why this is happening (I really would think fixing this would be a top priority for a mod_perl maintenence release) but I've been too busy lately. :/ Cheers, Tyler

Re: mod_perl make test failed tests

2006-06-05 Thread Tyler MacDonald
at it ran on. I think that is a lot like driving a car where you can not pop open the hood, or drinking a can of pop that does not have a list of ingredients on it. - Tyler

Re: Sessions with mod_perl2

2006-06-06 Thread Tyler MacDonald
at supports authentication, users, and sessions as well. It's session component is based on CGI::Session, and it allows you to configure everything from httpd.conf. - Tyler

Fwd: Problems building mod_perl 2.0.2 w/httpd-2.2.2

2006-06-20 Thread Tyler MacDonald
Has anybody figured this out yet? Is there going to be a new version of mod_perl coming out soon that fixes this problem? It seems pretty serious... - Tyler --- Begin Message --- I just upgraded to httpd 2.2.2 and tried to install mod_perl. This upgrade was made on top of my existing

Apache::Resource not killing children, hanging

2006-07-22 Thread Fred Tyler
I'm having a serious problem with Apache::Resource not killing children and ending up with all of the children in a hung state at the memory limit (Linux 2.6, mod_perl 1.29, Apache 1.33). Here is the snippet from httpd.conf: PerlModule Apache::Resource # Both of the next two lines cause children

Re: Apache::Resource not killing children, hanging

2006-07-22 Thread Fred Tyler
> I'm having a serious problem with Apache::Resource not killing > children and ending up with all of the children in a hung state at the > memory limit (Linux 2.6, mod_perl 1.29, Apache 1.33). For what it's worth you might want to take a look at Apache::SizeLimit which was recently upgraded and

Re: Apache::Resource not killing children, hanging

2006-07-24 Thread Fred Tyler
On 7/23/06, Fred Tyler <[EMAIL PROTECTED]> wrote: I'm having a serious problem with Apache::Resource not killing children and ending up with all of the children in a hung state at the memory limit (Linux 2.6, mod_perl 1.29, Apache 1.33). Wow, I finally figured out what was causi

Help: ENV shared between requests???

2006-07-28 Thread Fred Tyler
Hi, I just noticed something and I don't know if it is normal: Is %ENV supposed shared between requests??? I was trying to use $ENV{'HTTP_REFERER'} in a certain script, and as I reloaded the script over and over I noticed that it would constantly be changing when the page was loaded directly (and

Re: Help: ENV shared between requests???

2006-07-30 Thread Fred Tyler
> I was trying to use $ENV{'HTTP_REFERER'} in a certain script, and as I > reloaded the script over and over I noticed that it would constantly > be changing when the page was loaded directly (and therefore there > should not have been any HTTP_REFERER at all). In my setup at least, HTTP_REFERER

Re: Help: ENV shared between requests???

2006-07-30 Thread Fred Tyler
7;d find in %ENV under CGI? It wasn't in the CGI->mod_perl porting guide. Anyway, thanks for the tip. IIRC, there was a recommded approach to reading %ENV.. A grep didn't turn up anything usefull, so far. If this thread is still open, I'll drop a line :) HTH Hendrik On 7/29/06

Re: Memory leak in mod_perl?

2006-09-27 Thread Fred Tyler
> after booting a redhat enterprise linux 3 machine with apache 2.0.58, > perl 5.8.8 and mod_perl 2.0.2, > it runs well using about 300 M of 1 G physical RAM. > However, the remaining RAM decreases day by day, and after 2 or 3 > weeks, the machine crashes because swapping takes too much time. > Ho

Re: Transhandler? Redirect permanent?

2006-10-25 Thread Tyler MacDonald
dler whose overhead is going to be at least 10 lines before you even start coding. I use both extensively and together; mod_perl for the content, authentication, etc... and mod_rewrite for traffic control. Cheers, Tyler

Apache->httpd_conf

2007-01-03 Thread Tyler Bird
In Mod perl 2.0 what is the equivalent of Apache->httpd_conf( qw{ ... } ); inside of a Section in httpd.conf? Tyler

Re: Port/Sheme information

2007-01-16 Thread Tyler MacDonald
uot;HTTPS" environment variable means SSL is enabled. http://httpd.apache.org/docs/2.2/mod/mod_ssl.html Cheers, Tyler

Making warnings trigger errors.

2007-01-23 Thread Tyler Bird
Does anybody know if there is a module or some kind of directive in either perl or mod_perl to make warnings produce the same affects as errors. Thanks Tyler

Detecting Unused Variables

2007-02-28 Thread Tyler Bird
I was wondering if there was some way I could run a script and have it detect all unused variables for me? Anyone got an answer hopefully with out using and add on module? I was also running how I could run time check all my modules. Tyler

Re: Charts and Graphs

2007-04-13 Thread Tyler Gee
ep. I'm not terribly concerned about getting a bit more complicated if it means better efficiency and/or better control, etc. Any suggestions? I was just contsidering using SWF::Chart. Has anyone used that successfully or what issues would there be (other than the fact that it is flash). Thanks, -- ~Tyler

Re: Perl and ASP.Net

2007-04-23 Thread Tyler Gee
e small subset of any given framework. You should be able to use any one of them that you want without problems. -Praveen Cheers, -- ~Tyler

Errors going to the main apache servers log and not my virtual host

2007-04-26 Thread Tyler Bird
Errors going to the main apache servers log and not my virtual host. Has anyone encountered this problem above before? I am setting up my virtual hosts within a section. Please?? Tyler

Logging With Mod Perl 2.0

2007-04-26 Thread Tyler Bird
But I was wondering isn't there anything I can do to mod_perl that will allow a plain warn to send it to my virtualhosts log and not my servers log. without using the $r->warn() syntax warn("hey") really goes t the virtual hosts log and I don't have to put $r->warn() Tyler

.htaccess problems

2007-04-26 Thread Tyler Bird
file out of the way on enterprise 5 it fails with and Apache::Registry error in the error log When I do it on enterprise 2.1 it seems ok. Any ideas? Tyler

  1   2   >