Taint checking and die

2010-10-15 Thread Ted
ently the die in the mod_perl environment is behaving differently. Is this normal? If so, shouldn't it say "Insecure dependency in die ..."? I've switched to -t instead, but like the idea of server termination when the taint check finds something. mod_perl 2.0.4 perl 5.12.1 Thank you, Ted

Reading err_headers_out values

2005-04-21 Thread ted
rip things up. I cannot see the individual values. Is there any way to retrieve the values? Thanks, Ted my $cookie1 = Apache::Cookie->new($r, -name => 'oranges', -value => 1, -path => "/", ); $cookie1->

mp1 to mp2: server info in startup.pl

2005-08-22 Thread Ted
tput is: port = 0 In mp1 I am doing this: --- use Apache::Server; my $s = Apache->server; warn "port = ",$s->port(),"\n"; output is: port = 80 What am I doing wrong in mp2? Thanks, Ted

Re: mp1 to mp2: server info in startup.pl

2005-08-22 Thread Ted
Thanks for your response. I tried that, but got an error: [Mon Aug 22 14:43:52 2005] [error] Global $r object is not available. Set:\n\t PerlOptions +GlobalRequest\nin httpd.conf at /usr/local/apache2/conf/startup.pl line 82.\nCompilation failed in require at (eval 2) line 1.\n [Mon Aug 22 14

preloading modules in mp2

2005-08-24 Thread Ted
modules results in more of a difference between the two environments in regard to the start/stop times. These tests were done on a sun box running Solaris 9. Is there anything that can be done to speed this up or is this just the nature of mp2? Thanks for any information you may have, Ted

Re: preloading modules in mp2

2005-08-24 Thread Ted
I am not using threads either. Philip M. Gollucci wrote: Ted wrote: Hi, Has anyone experienced a slowdown in the start and stop times of the server when modules are preloaded? It takes more time to preload under mp2 than under mp1. I tried this httpd 1.3.33/mp1 1.29 and httpd 2.3.0/mp2

Re: preloading modules in mp2

2005-08-24 Thread Ted
Thank you for helping me out. mod_apreq2 Philip M. Gollucci wrote: Ted wrote: I am not using threads either. are you loading anything else like mod_apreq1/2 mod_php etc

Apache2::Cookie blank value bug?

2005-08-24 Thread Ted
Blank value in cookie causes server to die with a Segmentation Fault. my $value = ''; my $cookie = Apache2::Cookie->new($r, -name => 'test_cookie', -value => $value, -path => '/', ); $cookie->bake($r)

Re: Apache2::Cookie blank value bug?

2005-08-25 Thread Ted
kinda needed On Aug 24, 2005, at 5:40 PM, Ted wrote: Blank value in cookie causes server to die with a Segmentation Fault. my $value = ''; my $cookie = Apache2::Cookie->new($r, -name => 'test_cookie', -value =>

Apache2::Reload warnings

2006-10-13 Thread Ted
ally ($$) { my($a, $b) = @_; $a <=> $b; } 1; Thanks, Ted