apache-perl for bricolage

2003-12-04 Thread mark
y he can't work with modules, I have no clue). There's an apache-perl 1.3.26, and a 1.3.29. I've did an apt-get source apache-perl, and the build crashes with http_main.c: In function `ap_set_version': http_main.c:461: error: parse error before "SERVER_SUBVERSION" Clu

[MP2] : REDIRECT_ERROR_NOTES not set on errordocument redirect

2005-04-28 Thread Mark
-8<-- Start Bug Report 8<-- 1. Problem Description: $ENV{REDIRECT_ERROR_NOTES} not working with MP2 Using latest everything (modperl 2 RC5). To illustrate, I simply configure Apache with an errordocument: ErrorDocument 500 /cgi/printenv I have a perl-scrip

Re: [MP2] : REDIRECT_ERROR_NOTES not set on errordocument redirect

2005-05-10 Thread Mark
Stas Bekman wrote: Mark wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: $ENV{REDIRECT_ERROR_NOTES} not working with MP2 Using latest everything (modperl 2 RC5). To illustrate, I simply configure Apache with an errordocument: ErrorDocume

Re: [MP2] : REDIRECT_ERROR_NOTES not set on errordocument redirect

2005-05-10 Thread Mark
Stas Bekman wrote: Mark wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: $ENV{REDIRECT_ERROR_NOTES} not working with MP2 Using latest everything (modperl 2 RC5). To illustrate, I simply configure Apache with an errordocument: ErrorDocume

Re: [MP2] : REDIRECT_ERROR_NOTES not set on errordocument redirect

2005-05-22 Thread Mark
Stas Bekman wrote: Mark wrote: Stas Bekman wrote: Mark wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: $ENV{REDIRECT_ERROR_NOTES} not working with MP2 Using latest everything (modperl 2 RC5). To illustrate, I simply configure

Apache2::Reload problems

2005-05-24 Thread Mark
I have a typical situation, with a Registry script that use's a bunch of modules. After Apache::Reload reloads the first module, I get errors suggesting that the other loaded modules have been lost. To illustrate, it is like this (fake example): Script: #!/usr/bin/perl use Fubar; use S

Re: Apache2::Reload problems

2005-05-25 Thread Mark
Philippe M. Chiasson wrote: Mark wrote: I have a typical situation, with a Registry script that use's a bunch of modules. After Apache::Reload reloads the first module, I get errors suggesting that the other loaded modules have been lost. To illustrate, it is like this (fake ex

Re: Apache2::Reload problems

2005-05-25 Thread Mark
Stephane GUIBOUD-RIBAUD wrote: Hi Mark, I had the same problem as you when installed the 2.0.0-RC6. I patched the Apache/Reload.pm (version 0.07) as follow: 1/ Changed the string ${package}::FIELDS by ${package}::APACHE_RELOAD_FIELDS (line 43, 44, 90, 92) 2/ Changed the return value of the

Apache2::Reload problem (ModPerl::Util bug)

2005-05-29 Thread Mark
In 2.0.0, if there are heirarchical packages, and Apache2::Reload is configured to reload the 'parent', it blows away the 'children' package namespaces (and doesn't reload the children.) For example, if @INC has: Fubar.pm Fubar/Child.pm And Apache2::Reload reloads package Fubar, it blows away F

Re: Apache2::Reload problem (ModPerl::Util bug)

2005-05-29 Thread Mark
Mark wrote: In 2.0.0, if there are heirarchical packages, and Apache2::Reload is configured to reload the 'parent', it blows away the 'children' package namespaces (and doesn't reload the children.) For example, if @INC has: Fubar.pm Fubar/Child.pm And Apache2::Rel

Re: Apache2::Reload problem (ModPerl::Util bug)

2005-06-05 Thread Mark
Philippe M. Chiasson wrote: Mark wrote: Mark wrote: In 2.0.0, if there are heirarchical packages, and Apache2::Reload is configured to reload the 'parent', it blows away the 'children' package namespaces (and doesn't reload the children.) For example, if @INC has:

Re: Basic Help, RedHat

2006-06-22 Thread mark
ually using the rpms; I'm just saying that their presence has no effect on a hand-built versions) And of course, do not use apache and mod_perl 1.x. Use the latest versions. Personally, I manually build perl too, though I think the version on your redhat is probably OK. Mark Chris Werner wro

Make test fails on Solaris 8

2004-02-02 Thread Mark Round
ng questions. I have tried different versions of GCC - each time, cleaning out and rebuilding any CPAN modules that mod_perl needs with the new compiler as well. Each time, I get the same error - yet on the E250, the build completes as expected. Any advice would be greatly appreciated! Thank

Make test fails under Solaris 8

2004-02-02 Thread Round, Mark
erent versions of GCC - each time, cleaning out and rebuilding any CPAN modules that mod_perl needs with the new compiler as well. Each time, I get the same error - yet on the E250, the build completes as expected. Any advice would be greatly appreciated! Thanks in advance, -Mark Just for

Re: Make test fails on Solaris 8

2004-02-02 Thread Mark Round
using trouble. What's weird is that everything else builds fine - MySQL, PHP, Apache etc. It's just this Perl build that's giving me hassle... Any further thoughts ? Thanks, -Mark -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: Make test fails on Solaris 8

2004-02-02 Thread Mark Round
Ged Haywood wrote: Have you compared the output of 'perl -V' from the two machines in excruciatingly fine detail? Yes - they are identical. Even ran them through 'diff' to make sure... -Mark -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl

Re: Make test fails on Solaris 8

2004-02-02 Thread Mark Round
can't make much sense of the above - is the reference to "/home/dougm/lib/perl/mod_perl_hooks.pmc" usual ? It only seems to occur in the two above mentioned calls that crash the server -Mark -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: Make test fails on Solaris 8

2004-02-03 Thread Mark Round
build procedure on another system (an Ultra 5) - this worked again, so there is something messed up on the E220R, but I am at a loss as to what it could be - perl-status?hooks and perl-status?symdump sill cause the server to hang... -Mark -- Reporting bugs: http://perl.apache.org/bugs/ Mail

problem installing AxKit on RH9.0 (iconv not found error)

2004-02-08 Thread mark puttnam
in resolving this problem. Mark Below is the output of install -- $>perl -MCPAN -e shell cpan>install AxKit AxKit's installer magic requires ExtUtils::AutoInstall. AxKit comes with an older version, but it will not be installed.

Apache::Status 'PADLIST summary' and memory usage

2004-02-11 Thread Mark Maunder
rmance hit if that scalar gets re-used frequently in the sub? Thanks in advance. Mark. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: Apache::Status 'PADLIST summary' and memory usage

2004-02-11 Thread Mark Maunder
Thanks very much Stas, and the list for the archived info. On Thu, 2004-02-12 at 02:43, Stas Bekman wrote: > Mark Maunder wrote: > > I'm creating some fairly big scalars (6 megs) under mod_perl containing > > strings, and was doing some memory profiling using Apache::Status.

[mp1] Newbie: figuring out Apache::Reload with relative paths

2004-02-26 Thread Mark Stosberg
elative 'use lib' paths in the code? Since I'm new at this, It's possible I missed some documentation on this topic, and would happily accept a pointer to that if so. Mark -- . . . . . . . . . . . . . . . . . . . . . . . . . . . Mark StosbergPrincipa

reloading modules in a handler with eval

2004-02-27 Thread Mark Maunder
nd this reload happens at the beginning of a request before objects are instantiated. Anything wrong with doing this? It seems a little too easy! :) Thanks, Mark. -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquett

Re: reloading modules in a handler with eval

2004-02-27 Thread Mark Maunder
For what I'm doing the only performance hit is the stat() on every module, which means disk access. That's 20 stats per request because there are 20 modules. The 'touch' option means only one stat instead of 20. Much better. Moving slightly OT. Anyone know if the linux filesystem cache caches di

Re: reloading modules in a handler with eval

2004-02-27 Thread Mark Maunder
Thanks for this Charles. I've never heard of vmstat, and after playing with it for a few mins am amazed at my ignorance and its usefulness. On Fri, 2004-02-27 at 21:07, Charles C. Fu wrote: > In <[EMAIL PROTECTED]> on 27 Feb 2004, >Mark Maunder <[EMAIL PROTECTED]> wr

Re: reloading modules in a handler with eval

2004-02-27 Thread Mark Maunder
I forgot about that. I guess once all Apache kids exist, there's no way to overwrite that module in shared memory without restarting Apache? Silly question I guess. That's why they call it copy-on-write. mark. On Fri, 2004-02-27 at 13:15, Perrin Harkins wrote: > Mark Maunder wrote:

Help requested with CGI.pm/Data::FormValidator/modperl bug

2004-02-28 Thread Mark Stosberg
f and the other DFV/modperl users. BTW, the issue only happens with a CGI.pm object as input. Using a regular hashref doesn't trigger it. Thanks! Mark -- http://mark.stosberg.com/ ### #!/usr/bin/perl -w use strict; use CGI; use Data::FormValidator; us

Re: Help requested with CGI.pm/Data::FormValidator/modperl bug

2004-02-28 Thread Mark Stosberg
hat list as well as see how I do. Thanks for the response. Mark -- http://mark.stosberg.com/ -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

[OT] Forcing httpd's to not swap out of memory

2004-02-29 Thread Mark Maunder
Is there a way to force apache to stay in memory. My linux box swaps children out (shown in brackets in ps) during long periods of low activity, and swapping them back in is causing latency for my users. Thanks, Mark. -- Report problems: http://perl.apache.org/bugs/ Mail list info: http

Re: [OT] Forcing httpd's to not swap out of memory

2004-02-29 Thread Mark Maunder
can't find anything about mlock and apache. On Sun, 2004-02-29 at 11:33, Ged Haywood wrote: > Hi there, > > On Sun, 29 Feb 2004, Mark Maunder wrote: > > > Is there a way to force apache to stay in memory. > > Don't mount the swap space? > > 73, > Ged

Re: [OT] Forcing httpd's to not swap out of memory

2004-02-29 Thread Mark Maunder
On Sun, 2004-02-29 at 12:43, Ged Haywood wrote: > If I read you right, this only happens when your Apache processes are > inactive for some time. So why not set up a process which keeps them > active, like a kind of watchdog? It would be very simple using LWP or > something like that. Definite

Re: Help requested with CGI.pm/Data::FormValidator/modperl bug

2004-02-29 Thread Mark Stosberg
On 2004-02-29, Cees Hek <[EMAIL PROTECTED]> wrote: > Hi Mark, > > What version of CGI.pm are you testing with? There are some known > problems with using CGI.pm and mod_perl in older versions of CGI.pm. > Upgrade to the latest version of CGI.pm and my guess is your pr

Re: [OT] Forcing httpd's to not swap out of memory

2004-02-29 Thread Mark Maunder
Thanks. I think the idea of sending a useless signal is the best so far. I'm also going to upgrade my kernel and see if I can get more meaningful output from ps. btw, is anyone using the 2.6 kernel on live servers yet? On Sun, 2004-02-29 at 12:50, Render Web wrote: > Mark Maunder wrote:

Re: funny action of crypt

2004-03-04 Thread Mark Hawkes
At 16:55 2004-03-03 -0800, you wrote: >I have a problem when my apache_1.3.29 w/ mod_perl 1.29 runs PerlRun >and some CGI scripts with password encryption. >$password = crypt($password, &mkSalt($name.$password.$value) ); I'm no expert, but here goes... There are 2 ways of implementing crypt(3): u

Re: funny action of crypt

2004-03-04 Thread Mark Hawkes
27;'; $salt_length = 2; } else {### chosen crypt algorithm is MD5 $salt= '$1$'; # MD5 salt prefix $salt_length = int rand 9; # random integer from 0 to 8 inclusive } while ($salt_length--) { ### randomly generate the s

[OT] variable type

2004-03-05 Thread Mark Warner
#x27;ARRAY (0x36x486)' to a string and parsing it (unless this is already a reliable method, I'm worried about this breaking in a .1 release). [Mark Warner | Sr Programmer Analyst | IS, Hartford Hospital | 860.545.3909 | [EMAIL PROTECTED] ] -- Report problems: http://perl.apache.org/bugs/

[mp1] debugging: DBI commits delayed until server shutduwn

2004-03-12 Thread Mark Stosberg
od_perl via w3m browser I'm out of any ideas. Any wild guesses appreciated. :) Here are the details of my environment: FreeBSD 5.1 Perl 5.8.0 Apache/1.3.28 (Unix) mod_perl/1.29 DBI 1.41 Apache::DBI .94 DBD::Pg 1.32 Postgres 7.3.4. I&#x

Re: [mp1] debugging: DBI commits delayed until server shutduwn

2004-03-12 Thread Mark Stosberg
On 2004-03-12, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Fri, 2004-03-12 at 16:11, Mark Stosberg wrote: >> I'm out of any ideas. Any wild guesses appreciated. :) > > Your CGI::Session object is not going out of scope, so it doesn't get > destroyed until you

Re: [mp1] Newbie: figuring out Apache::Reload with relative paths

2004-03-21 Thread Mark Stosberg
Stas -- On 2004-02-26, Stas Bekman <[EMAIL PROTECTED]> wrote: > Mark Stosberg wrote: >> Hello, >> >> I'm a new modperl user, and I'm trying to figure out the joy that is >> Apache::Reload. >> >> I keep having an issue where it can't fi

Setting a perl variable in a VirtualHost via a section

2004-03-31 Thread Mark Doyle
can I add the PerlSetVar APSProduct "FOO" to the section? The value of the variable depends on the virtual host of course. Cheers, Mark -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

apache::session::mysql: layout

2004-08-01 Thread Mark Copper
ue pairs when I simply "select a_session from sessions" at the mysql shell prompt? Sheepishly, Mark -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

[mp1] text-book forking code still producing zombies

2004-10-04 Thread Mark Stosberg
carp $@ if $@; CORE::exit(0); } I'm curious what possible causes are, or better alternatives for structuring the forking code. Below are my environment details. Thanks! Mark ## modperl/1.29 Apache 1.3.31 $ perl -V Summary of my per

Re: [SumsaultRT #1249][mp1] text-book forking code still producing zombies

2004-10-06 Thread Mark Stosberg
rocesses to periodically get re-created, killing related zombies in the process. Thanks again. You're helping http://www.1-800-save-a-pet.com/ which recently re-launched with Apache/mod_perl after using AOLserver with TCL in its last incarnation. Mark -- . . . . . . . . . . . .

Re: [SumsaultRT #1249][mp1] text-book forking code still producing zombies

2004-10-06 Thread Mark Stosberg
On 2004-10-06, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, 2004-10-06 at 16:56, Mark Stosberg wrote: >> At your recommended, I installed strace and ran it on the hung process. >> It doesn't work. > > Hmm, maybe it's time to add some logging to your fork

Re: [SumsaultRT #1249][mp1] text-book forking code still producing zombies

2004-10-06 Thread Mark Stosberg
On 2004-10-06, Mark Stosberg <[EMAIL PROTECTED]> wrote: > >>> Could setting MaxRequestsPerChild be a meaningful solution here? It >>> would seem that this would cause the Apache child processes to >>> periodically get re-created, killing related zombies in the

Accessing apache request configuration from mp2

2009-07-09 Thread Mark Moseley
This is a case of I'm pretty sure I saw this before but can't for the life of me remember where -- so it might not even be possible. I'm trying to access the values of the 'Order', 'Allow', and 'Deny' apache directives, as they're set at request time, i.e. after merging. Basically what I want to d

unreadable output after internal redirect

2009-08-20 Thread Mark Copper
ully? Sorry if *this* page is gibberish. Thanks for reading. Mark

Re: unreadable output after internal redirect

2009-08-21 Thread Mark Copper
On Thu, Aug 20, 2009 at 11:47:56PM -0700, Fred Moyer wrote: > On Thu, Aug 20, 2009 at 7:54 AM, Mark Copper > wrote: > > Hi, > > > > I have a Mason dhandler that generates an HTML page containing a form. > > The action of the form is to get the same page that is displ

Help requested with a CGI.pm / mod_perl bug

2009-09-04 Thread Mark Stosberg
hes are welcome. The code is on GitHub now [1], but a diff against the latest release would also be welcome. 1. http://github.com/markstos/CGI.pm/tree/master Thanks! Mark -- http://mark.stosberg.com/

planning an upgrade to Perl 5.10.1 and mod_perl

2009-09-10 Thread Mark Stosberg
pache/mod_perl compiled against 5.8 if I need to. Am I missing anything major here? I realize there are some details about port allocation that I'll need to address. Mark -- . . . . . . . . . . . . . . . . . . . . . . . . . . . Mark StosbergPrincipal Developer

intermittent segfaults, ssl?

2010-01-12 Thread Mark Copper
mposing on list-readers time without doing more work, but I just wonder is it isn't something really elementary that I'm missing. Mark

Re: intermittent segfaults, ssl?

2010-01-13 Thread Mark Copper
Despite what I said, this seems to be CPAN bug 37027 or, in my case, Debian bug #520406 involving module DBD-mysql. Mark On Tue, Jan 12, 2010 at 12:24:17PM -0600, Mark Copper wrote: > Hi, > > I have a server like this: > Server Version: Apache/2.2.9 (Debian) mod_ssl/2.2.9 Op

Re: mod_perl-2.0.4 with Apache 2.2.9 and perl 5.10.0 intermittent crashing

2010-01-28 Thread Mark Copper
uot;/just|another|perl|hacker/" > > References > > 1. mailto:demer...@gmail.com >2. mailto:pas.arge...@gmail.com Looks like Bug #37027 for DBD-mysql: mysql_auto_reconnect I struggled with this one a while back myself. Mark

Re: ErrorDocument from a registry script

2010-02-09 Thread Mark Stosberg
r this be solved at a toolkit level so folks don't have to keep re-inventing solutions for this. Have I missed a better way to handle this? Mark

Re: CPAN Upload: P/PH/PHRED/Apache2-Dispatch-0.13.tar.gz

2010-02-10 Thread Mark Stosberg
>    Apache2-Dispatch-0.13.tar.gz This looks like a useful module, Fred. Is anyone here using this as an initial dispatcher to pass things on to CGI::Application::Dispatch? Mark -- . . . . . . . . . . . . . . . . . . . . . . . . . . . Mark StosbergPrincipal Develo

shared variable between PerlChildInitHandler and PerlResponseHandler

2010-08-19 Thread Mark Risher
Hi, all: I am trying to load a configuration file into a hash during my PerlChildInitHandler and then access the values from PerlResponseHandler. However, even though the process number is the same, it seems that variables changed during the child_init() call revert back to their default values

Re: shared variable between PerlChildInitHandler and PerlResponseHandler

2010-08-19 Thread Mark Risher
Thank you for the suggestions. Unfortunately, I am still not able to make it work. Spurred by your advice, I examined my apache2.conf config. Here it is: PerlSwitches -I/mnt/hgfs/src/api# the path where my modules live PerlModule StartupLog PerlChildInitHandler StartupLog::child_init Se

logging $! with $r->log_error

2010-12-11 Thread Mark Copper
urse, but is then I won't get the error message when it *does* get set. So my question: when "open" to a pipe does not return a process PID and $! is not set, is there any other source of information regarding what caused the error? I'm pretty ignorant on this type of thing, so sorry if it's a stupid question. Mark

Apache2::SizeLimit for threaded MPM's

2010-12-30 Thread Mark Copper
removed, but I don't see anything about it in the CPAN module changes file. Thanks. Mark Copper

Re: Apache2::SizeLimit for threaded MPM's

2010-12-30 Thread Mark Copper
I should have searched the source file for that "die" command myself. Sorry for the noise; thanks for the gentle reply. MC On Thu, Dec 30, 2010 at 3:07 PM, Fred Moyer wrote: > On Thu, Dec 30, 2010 at 9:50 AM, Mark Copper wrote: >> >> Do the the Apache2::SizeLimit m

undefined symbol modperl_xs_sv2request_rec

2011-02-03 Thread Mark Hedges
Request (libapreq2) but people seem inclined to think it is a problem with mod_perl and not apreq. mod_perl 2.0.4 6.el5, perl 5.8.8 32.el5_5.2 CentOS Any ideas? Thanks. --mark-- -- Forwarded message -- Date: Thu, 3 Feb 2011 01:02:16 -0500 From: Michael G Schwern via

undefined symbol modperl_xs_sv2request_rec

2011-02-04 Thread Mark Hedges
le seem inclined to think it is a problem with mod_perl and not apreq. Any ideas? Thanks. --mark-- -- Forwarded message -- Date: Thu, 3 Feb 2011 01:02:16 -0500 From: Michael G Schwern via RT To: mar...@cpan.org Subject: Re: [rt.cpan.org #65382] https://rt.cpan.org/Ticket/Di

Re: undefined symbol modperl_xs_sv2request_rec

2011-02-04 Thread Mark Hedges
On Wed, 2 Feb 2011, Mark Hedges wrote: > > A change in Module::Build recently brought it in line with > the behavior of ExtUtils::MakeMaker, which caused an error > to crop up in test cases: > > # Error: Can't load > '/usr/lib/perl5/site_perl/5.8.8/i386-linu

perl -c fails with FilterSnoop example in docs

2011-02-22 Thread Mark Hedges
ed at Lame.pm line 26. If I comment those subs out it checks fine, so Apache2::Filter is loading. It doesn't help if I also do "use Apache2::Filter ()" first. Any ideas how to make this check okay for my build test to include it? --mark-- #file:MyAp

Random build failures

2011-07-29 Thread Mark Fowler
h the tests run since I've set I was wondering if anyone had any experience of anything like this before? Mark. P.S. In case it's important: Ubuntu 10.4 LTS on intel Perl 5.12.3 httpd-2.2.16 t/apache/read3.t Failed 1/1 subtests Test Summary Report -

failure using Socket in PerlSection

2012-11-09 Thread Mark Heiges
I have a name-based virtual host and want to use Socket.pm in a PerlSection: use Socket; but when starting httpd I get the error, $parms->add_config() has failed: Invalid command 'INADDR_ANY', perhaps misspelled or defined by a module not included in the server configuration at /usr/lib64/pe

Re: failure using Socket in PerlSection

2012-11-10 Thread Mark Heiges
On Nov 9, 2012, at 10:36 PM, Mark Heiges wrote: > I have a name-based virtual host and want to use Socket.pm in a PerlSection: > > > use Socket; > > > but when starting httpd I get the error, > > $parms->add_config() has failed: Invalid command 'INADDR_ANY

Re: failure using Socket in PerlSection

2012-11-11 Thread Mark Heiges
On Nov 9, 2012, at 10:36 PM, Mark Heiges wrote: > I have a name-based virtual host and want to use Socket.pm in a PerlSection: > > > use Socket; > > > but when starting httpd I get the error, > > $parms->add_config() has failed: Invalid command 'INADDR_ANY

Re: failure using Socket in PerlSection

2012-11-11 Thread Mark Heiges
On Nov 10, 2012, at 10:22 AM, Torsten Förtsch wrote: > On 11/10/2012 03:43 PM, Mark Heiges wrote: >> >> On Nov 9, 2012, at 10:36 PM, Mark Heiges wrote: >> >>> I have a name-based virtual host and want to use Socket.pm in a PerlSection: >>> >>>

Can't build httpd24threading with perl built with -Duserelocatableinc

2014-06-06 Thread Mark Hedges
setup, where the same perl on NFS has a different absolute path on different servers where the volume is mounted on different paths, but then a consistent symlink is provided. Maybe I don't understand what the userelocatableinc option is for. Thanks. Mark

http24threading t/protocol/eliza.t does not exit

2014-06-06 Thread Mark Hedges
1. Problem Description: This is Apache 2.4.9 using the bundled apr/apr-util. Trying to build http24threading branch. t/protocol/eliza.t never exits after the last statement. I am confused by t/protocol/TestProtocol/eliza.pm. It seems like it expects a readline interface. But I added some de

RE: http24threading t/protocol/eliza.t does not exit

2014-06-07 Thread Mark Hedges
BTW it timed out after Test 6 and then I hit ctl-C. -Original Message- From: Mark Hedges Sent: Friday, June 06, 2014 5:50 PM To: modperl@perl.apache.org Cc: Mark Hedges Subject: http24threading t/protocol/eliza.t does not exit 1. Problem Description: This is Apache 2.4.9 using the

t/hooks/authen_digest.t fails in httpd24threading

2014-06-09 Thread Mark Hedges
1. Problem Description: t/hooks/authen_digest.t fails s...@nta1.ntf.cftdev1 /ntfhome/local/src/mod_perl2_svn/mod_perl 2014-06-09 18:15:28 Mon $ t/TEST -verbose t/hooks/authen_digest.t /ntfhome/local/bin/httpd -d /ntfhome/local/src/mod_perl2_svn/mod_perl/t -f /ntfhome/local/src/mod_perl2_svn/

t/compat/conn_rec.t fails in httpd24threading

2014-06-09 Thread Mark Hedges
1. Problem Description: Generated test t/compat/conn_rec.t fails with incorrect test count. It wasn't there to begin with and I didn't know what bootstrapped it so the error log first shows the output of the other failed test that I just reported, then it goes on to show this test output.

what is "world domination series"?

2014-06-22 Thread Mark Hedges
Apache/2.2.27 (Unix) world domination series/2.0 mod_perl/2.0.8 Perl/v5.20.0 Server at localhost Port 8529 ... rather ominous ... Thanks. Mark

bug in test lib in mod_perl 2.0.8 / apache 2.2.27 - w/ patch

2014-06-22 Thread Mark Hedges
This appears to be a bug in a test library in the released current version mod_perl 2.0.8. $r->args can return undef if there is no ? in the url to specify a query string, apparently. Patch is at the bottom. HTH. -Mark s...@tst1.ntf.cftdev1 /ntfhome/local/src/perl/mod_perl-2.0.8 2014-06

RE: what is "world domination series"?

2014-06-22 Thread Mark Hedges
*lol* ... `force install App::Ack` ... silly people :-) From: Mark Hedges Sent: Sunday, June 22, 2014 11:10 PM To: modperl@perl.apache.org Cc: Mark Hedges Subject: what is "world domination series"? Apache/2.2.27 (Unix) world domination series/2.0 mod_perl/2.0.8 Perl/v5.20.0 Server at

bug in test script t/api/err_headers_out.t in released mod_perl 2.0.8 - patch supplied

2014-06-23 Thread Mark Hedges
t/api/err_headers_out.t was recently changed to accommodate changes in HTTP::Headers 6.0, but the change did not make it forward-compatible for further versions of HTTP::Headers. The patch for the test script is below at the end. Thank you. HTH. -Mark s...@tst1.ntf.cftdev1 /ntfhome/local

RE: what is "world domination series"?

2014-06-23 Thread Mark Hedges
I'm the one who didn't get it, apparently. -Mark $ ack 'world domination series' ack: perl/perl-5.20.0/t/pleaseletthisfilenotexist.pag: cannot open file for reading ack: perl/perl-5.20.0/t/pleaseletthisfilenotexist.dir: cannot open file for reading perl/mod_perl-2.0.8/t/c

any way to get the uri path part that matches $r->location?

2014-06-23 Thread Mark Hedges
om the config block instead of the part of the path that matched it. If that is a weird pattern, then it is not found in the literal URI. Is there a way to get at what part of the URI matched the or directive? Thanks. Mark

RE: bug in test script t/api/err_headers_out.t in released mod_perl 2.0.8 - patch supplied

2014-06-23 Thread Mark Hedges
This worked in trunk. Thanks. I guess I spun my wheels for a couple hours. Would it be a good idea to roll out 2.0.9 as a bugfix, and make httpd24 2.1.0? 2.0.10? Mark -Original Message- From: Mark Hedges Sent: Monday, June 23, 2014 12:22 AM To: modperl@perl.apache.org Cc: Mark

bug in trunk in Apache::Reload test

2014-06-23 Thread Mark Hedges
2::Reload->unregister_module($package); ModPerl::Util::unload_package($package); $pass = 0; Also reported on Apache::Reload at rt.cpan.org. Thanks. Mark

bug in Apache2::BuildConfig using trunk and event MPM

2014-06-23 Thread Mark Hedges
It seems like mpm_is_threaded should answer 1 for the event MPM, but it answers 0, and the test fails. The patch works around this by detecting whether it is actually prefork or not, but there may be a deeper problem here. HTH. -Mark 2014-06-23 14:02:45 Mon $ svn diff ModPerl-Registry/t

error in Apache::TestSSLCA, cannot build libapreq

2014-06-23 Thread Mark Hedges
5805. HTH. -Mark --- /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/Apache/TestSSLCA.pm.orig2014-06-23 14:49:44.712628000 -0700 +++ /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld/Apache/TestSSLCA.pm

RE: any way to get the uri path part that matches $r->location?

2014-06-23 Thread Mark Hedges
I was thinking about this, I think I can do something like: my $loc = $r->location; $loc =~ s{/$}{}; my ($loc_match, $rest_of_path) = $r->uri =~ m{^(\Q$loc\E.*?/)(.*?)$}mxs; I will try it out when I get a chance. Mark -Original Message- From: Mark Hedges Sent: Monday, June 23, 2

RE: APREQ_ERROR_MISMATCH error, I think

2014-06-23 Thread Mark Hedges
ssage "Conflicting information," which seems to be related to the APREQ_ERROR_MISMATCH constant, but I don't know how to debug this. When I comment out creating the Apache2::Request object from $r, my dummy test handler runs fine. How would I try to debug this? Mark -Origin

RE: APREQ_ERROR_MISMATCH error, I think

2014-06-23 Thread Mark Hedges
D'oh sorry bad value for POST_MAX, please ignore. -Mark -Original Message- From: Mark Hedges Sent: Monday, June 23, 2014 4:02 PM To: apreq-...@httpd.apache.org; mod_perl list Cc: Mark Hedges Subject: RE: APREQ_ERROR_MISMATCH error, I think No one seems home on the apreq-dev list s

RE: bug in trunk in Apache::Reload test

2014-06-26 Thread Mark Hedges
ne by itself is certainly less computation. However I'm not sure about the last one. That is a cool idea. We'd have to benchmark it. :-) Also is '&&' faster than 'and'? Mark From: sergiy.borod...@gmail.com [mailto:sergiy.borod...@gmail.com] On Behalf

Apache2::URI::unescape_url bug?

2014-06-26 Thread Mark Hedges
1913/UK1\0UK1 ?? -Mark

RE: Apache2::URI::unescape_url bug?

2014-06-27 Thread Mark Hedges
The intent was to report that Apache2::URI::unescape does not seem to work correctly. Mark -Original Message- From: David Booth [mailto:da...@dbooth.org] Sent: Thursday, June 26, 2014 8:43 PM To: modperl@perl.apache.org Subject: Re: Apache2::URI::unescape_url bug? On 06/26/2014 08:42

RE: Apache2::URI::unescape_url bug?

2014-06-29 Thread Mark Hedges
Another library providing the same function in working order is not a reason to not fix the function in Apache2::URI. s/b Apache2::URI::unescape_url()... [...] Mark -Original Message- From: Vincent Veyron [mailto:vv.li...@wanadoo.fr] Sent: Saturday, June 28, 2014 7:02 AM To: Mark

libpthread problem, docs error

2014-07-03 Thread Mark Hedges
s what I should do? I am not sure how to use gdb. Thanks. Mark

pass extra args to a test in Apache::Test?

2014-07-25 Thread Mark Hedges
have that show up in $ENV in t/foobar.t. The only way I have found so far is to put files somewhere for the script to read. That seems a little kludgy. Any tips? Thank you. Mark

RE: pass extra args to a test in Apache::Test?

2014-07-25 Thread Mark Hedges
Hey nevermind, setting env vars works. I guess I must have typed that wrong before when I tried that. Thank you. Mark -Original Message- From: Mark Hedges Sent: Friday, July 25, 2014 3:46 PM To: modperl@perl.apache.org Cc: Mark Hedges Subject: pass extra args to a test in Apache

RE: mod_perl2 on Solaris 10 (01/2013, x86) with Apache 2.4.9 and Perl 5.20.0

2014-07-28 Thread Mark Hedges
I've always found I have to build apr, apr-util and apr-iconv separately first if I am building mod_perl from scratch. You might try that, then build Apache using --with-apr, --with-apr-util and --with-apr-iconv args, then build mod_perl using MP_APR_CONFIG and see if you get past that.

Authorization without Authentication?

2014-08-03 Thread Mark jensen
. but what if I don't want to authenticate users (BECAUSE I have already authenticate them using freeRADIUS and IEE802.1x) , I want only to authorize them, you would ask me how can we get the username. I have usernames with there IPs in mysql DB like this: user IP Mark 192.168.1.10

RE: Authorization without Authentication?

2014-08-03 Thread Mark jensen
Thanks I guess your answer will work for me if I have only static IPs but what I have suggested is an example, my DB or DNS zone is changing dynamically, can mod_perl deal with them as a DB?

RE: Shared Dirty memory of Apache parent process

2014-09-17 Thread Mark Hedges
d you will only use the amount of memory once for all processes. Using package vars to cache data is nice for small amounts that don't change in size. If you go too far down that road you run into the problem you described... it's no longer manageable. HTH. Mark Hedges

RE: lost directory indexes

2014-09-17 Thread Mark Hedges
ath args after the requested URI? It looks like embperl did it, but I didn't look too far into it. HTH. Mark Hedges

RE: beginning and testing

2014-10-07 Thread Mark Hedges
. You can also write t/TEST.PL, which gets added to the generated t/TEST script. It has to run: use Apache::TestRunPerl (); Apache::TestRunPerl->new->run(@ARGV); ... at the end, since this does not seem to get added to the generated t/TEST script when t/TEST.PL is used. HTH. Mark

  1   2   3   4   >