Re: mod_perl memory

2010-03-16 Thread William T
On Mon, Mar 15, 2010 at 11:26 PM, Pavel Georgiev wrote: > I have a perl script running in mod_perl that needs to write a large amount > of data to the client, possibly over a long period. The behavior that I > observe is that once I print and flush something, the buffer memory is not > reclaime

Re: huge apache+mod_perl processes

2010-10-05 Thread William T
If you don't have an unbounded growth issue it is likely do to some library pulling in alot of dependencies or the creation/caching in memory of some large data structure. You can preload all the offending libraries and see if that causes a jump in the initial memory allocation for you apache proc

Re: Secure web

2010-10-05 Thread William T
This is very big question. You should research perl best practices for development. You should also research secure programming techniques. On Sun, Oct 3, 2010 at 4:36 PM, wrote: > Hai, > I am new to mod_perl. > I want to build secure web based applications (not https), I mean secure > agains

failure to build Apache2::Request

2011-01-30 Thread William Bulley
who might be able to quickly figure out what's wrong... > > Issac > > On 27/01/2011 20:40, William Bulley wrote: > > > > According to Issac Goldstand on Thu, 01/27/11 at > > 13:37: > > > > > > I must have missed that bit, but yes, it

Re: failure to build Apache2::Request

2011-01-31 Thread William Bulley
ed for (lowercase) libapreq2 - in fact the number of www/p5- ports in FreeBSD with all lowercase names is less than ten (10!) and this is an up-to-date (8.2-PRERELEASE) system - go figure... :-) Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

apache2 or mod_perl2 oddball error

2011-06-16 Thread William Bulley
ere changed by running the apachectl(8) command and there have been no new lines added to /var/log/httpd-error.log since I rebooted and shut down apache2 on June 9th as part of the upgrade. Any and all ideas welcome. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

Re: apache2 or mod_perl2 oddball error

2011-06-16 Thread William Bulley
er, in these cases, I get a dozen error lines like this one: Attempt to free unreferenced scalar: SV 0x28bda050 during global destruction. In no case do I get a successful launch of the apache server, nor do I get any lines in the httpd_error.log file. Any other ideas? Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
APIs has changed, perhaps related to the newish Perl 5.14 version. I don't know how to approach this other than by asking the mailing lists for some guidance. Thanks for your help. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Torsten F?rtsch on Fri, 06/17/11 at 13:13: > > On Friday, June 17, 2011 18:34:07 William Bulley wrote: > > Something in apache2 or > > mod_perl2 or their APIs has changed, perhaps related to the newish > > Perl 5.14 version. > > That may be the reason.

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer on Fri, 06/17/11 at 13:43: > > On Fri, Jun 17, 2011 at 10:29 AM, William Bulley wrote: > > I have Perl 5.14 compiled from source. > > I have apache 2.2.19 ?compiled from source. > > I have mod_perl2 2.0.5 compiled from source (with these patches):

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
/local/lib/perl5/site_perl/5.14.0/mach/ModPerl/Const.pm Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins on Fri, 06/17/11 at 13:44: > > On Fri, Jun 17, 2011 at 12:34 PM, William Bulley wrote: > > ? PerlModule "Apache2::Const -compile => ':common'" > > ? PerlModule "APR::Const -compile => ':common'" >

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
hen what all does one need in a standard startup.pl, for example, that I could use as a model? Thanks. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Fred Moyer on Fri, 06/17/11 at 13:43: > > On Fri, Jun 17, 2011 at 10:29 AM, William Bulley wrote: > > I have Perl 5.14 compiled from source. > > I have apache 2.2.19 ?compiled from source. > > I have mod_perl2 2.0.5 compiled from source (with these patches)

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
Recall that with these two "Const -compile" lines commented out of that include file, the syntax phase of "apachectl -t" succeeds, but the server does not start, and a bunch of other errors appear. This, to me, sounds like an issue between apache2 and Perl 5.14 or betwe

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins on Fri, 06/17/11 at 15:35: > > On Fri, Jun 17, 2011 at 3:20 PM, William Bulley wrote: > > Recall that all I'm trying to do at this point is to get the apache > > server up and running. ?The fact that these two lines in this include >

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
ther, I would be happy to, but this is all new territory for me. I am now contemplating rebuilding my system from scratch using Perl 5.12.3 which worked (in the apache sense) prior to my June 9th upgrade. Unfortunately, this is a vary large task and deprives me of some of the things in Perl 5.14 that might be good to have. Of course, if this is a 5.14 problem, then I should do the down-grade, but not knowing is making this decision more difficult. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
ng more and more convinced that I will have to revert to 5.12.3 version of Perl... Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
n for the Apache/mod_perl "PerlModule" configuration > directive. > > (*) for example, it means that in all other perl programs, modules, scripts > running under your Apache/mod_perl, you can now use : > > return OK; > > instead of the longer > > return Apache2::Const::OK; I am still at a loss as to how to proceed. Ignoring the Apache2::Const and APR::Const issues, the apache2 server still fails to start. And I don't know how to track down the problem. Changing "Loglevel" to "debug" in the httpd.conf file did not result in any errors logged to my apache error log file (since the server failed to run). Is this still a Perl problem or could it be a mod_perl2 problem? And how to debug it? Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

Re: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
ey built without error. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

Re: apache2 or mod_perl2 oddball error (RESOLVED)

2011-06-23 Thread William Bulley
rl2 were the same as before (or after). The major change was the down-grade from Perl 5.14 to Perl 5.12.3 which seems to have confirmed my suspicions. Sorry for all the confusion, however there is something strange about Perl 5.14. Regards, web... -- William Bulley Email

Re: mod_perl-1.31 compilation with perl 5.14.1 fails

2011-06-29 Thread William Bulley
happy to remain at Perl 5.12.3 for the foreseeable future since everything works. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

Re: mod_perl-1.31 compilation with perl 5.14.1 fails

2011-06-29 Thread William Bulley
n are built on CGI::Application and do have what you call a startup.pl file although those (short) files are rarely, if ever, called "startup.pl". Maybe I need to read more about the mod_perl2 experience. :-) Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|

[mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0)

2016-07-21 Thread William Ward
-8<-- Start Bug Report 8<-- 1. Problem Description: Until recently we have been using Perl 5.8.8, Apache 2.2.29, and mod_perl 2.0.8. Due to migration to a new platform, it is necessary to rebuild our tech stack, so I am taking this opportunity to upgrade

Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0)

2016-07-21 Thread William Ward
7;t been released and may not be complete yet. This is the bug: https://rt.cpan.org/Public/Bug/Display.html?id=101962 If you can downgrade your perl to 5.20 then you should be able to get things running. Adam On 07/21/2016 05:16 PM, William Ward wrote: -8<-- Start

Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0)

2016-07-22 Thread William Ward
se marked "End of life" in CPAN, I think that's a problem. Bill On 7/22/2016 1:47 AM, Dominic Hargreaves wrote: On Thu, Jul 21, 2016 at 06:24:05PM -0700, William Ward wrote: OK I will give that a try. Unfortunate, as 5.24.0 has been blessed with LTS status by the Perl gods. Ho

Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0)

2016-07-22 Thread William Ward
eleases (5.22.3 / 5.24.1) are done. Sorry this fix has languished so long. In the meantime, if you're able to grab the latest SVN source and try it then that would be a great help: It should be good to go, but more testing is mostly what it needs. On 22 July 2016 at 02:24, William Ward wr

Re: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0)

2016-07-22 Thread William Ward
Thanks for the heads up ... will definitely put that on the roadmap. For now I will stick to 2.2 to reduce the number of things that might go wrong, but once we get stable on this version I'll look into 2.4 Bill On 7/22/2016 12:27 PM, John D Groenveld wrote: In message , William A Ro

Re: CGI::Session or CGI::Application

2005-01-17 Thread William McKee
x27;s listed in the Phalanx 100[1]. Nonetheless, it's been working fine for me (via the CGI::Application::Plugin::Session module). William [1] http://qa.perl.org/phalanx/distros.html -- Knowmad Services Inc. http://www.knowmad.com

Re: CGI::Session or CGI::Application

2005-01-17 Thread William McKee
ven sent direct emails to him without response over the past 12 months. William -- Knowmad Services Inc. http://www.knowmad.com

Re: Problem Installing libapreq2-2.04-dev on Freebsd

2005-02-08 Thread William McKee
gmake instead of make. Good luck, William -- Knowmad Services Inc. http://www.knowmad.com

[mp2] make test errors

2005-02-13 Thread William McKee
-8<-- Start Bug Report 8<-- 1. Problem Description: While installing mod_perl2 on a FreeBSD 5.3 jail environment, I received the following test errors: Failed Test Stat Wstat Total Fail Failed List of Failed

[mp2] Documentation patch for install.pod

2005-02-13 Thread William McKee
t the server had to be rebuilt. When I first read the recipe, it didn't make much sense that I would install Apache then build mod_perl. The line I added helps clear it up. Does the server also get rebuilt if compiling a dynamic mod_perl? Thanks, William -- Knowmad Services Inc. http://www.k

Re: build problems with apache 1.3.33 and mod_perl 1.29

2005-02-14 Thread William McKee
On Sat, Feb 12, 2005 at 11:12:07AM -0500, John Klassa wrote: > Am I missing something obvious? I'm not familiar with this error. Try filing a complete bug report[1] and you'll have better luck getting some assistance. William [1] http://perl.apache.org/docs/1.0/gu

Re: [mp2] make test errors

2005-02-16 Thread William McKee
> by some socket problems in the underlying C libs. That makes sense as I'm running inside a jailed process which has limited access to sockets. I wonder if there's a way to test for this condition and skip the failing tests. I'll check the archives and see what I can learn. Wi

Re: [mp2] Documentation patch for install.pod

2005-02-16 Thread William McKee
t; as explained here: http://perl.apache.org/bugs/ This was my experience and I faintly remembered you suggesting that Apache::Test should not be run as root so surmised that that was my problem. Right now, I do not have time to track down this error. If I can repeat it at a later time, I

Re: [mp2] make test errors

2005-02-16 Thread William McKee
iled environment as I had originally surmised. Can you give me any pointers for further testing? I'm going to try the debugger to see what I can find but am not very familiar with the codebase. Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] make test errors

2005-02-16 Thread William McKee
t seems to be checking the output of 'df /' to see if it reports being mounted on a different filesystem (e.g., /local/jails in my case). Other solutions require C code or additional packages[2]. William [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/jail-res

Re: [mp2] Documentation patch for install.pod

2005-02-16 Thread William McKee
ar*, but as long > as you run from somewhere where non-root user can access files (e.g. > /tmp), running as 'root' should work just fine. I see the difference now. I was installing from /usr/local/src so that test should have worked. William -- Knowmad Services Inc. http://ww

Re: [mp2] make test errors

2005-02-16 Thread William McKee
rong. > Unfortunately no tracing is available for sockets IO, since it's > impelemented entirely by Apache. OK. William -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] make test errors

2005-02-16 Thread William McKee
ock.t at line 22 fail #2 FAILED tests 2-3 William -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] make test errors

2005-02-16 Thread William McKee
so hopefully you can give me some further pointers for what to look at next. William -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] make test errors

2005-02-17 Thread William McKee
mote_addr() which gets the ip defined by localhost (127.0.0.1). Since the test is for pnotes, we could change the test. However, I suspect it'd be better to figure out what's causing the difference between the two functions. Is this the right place to file a bug report against Apache::Connecti

Re: [mp2] make test errors

2005-02-17 Thread William McKee
On Wed, Feb 16, 2005 at 07:12:11PM -0500, Stas Bekman wrote: > please look at your original report, William, it was failing the same 2 > sub-tests. That's weird because it's only failing one if I run it by itself. This obviously wasn't the case earlier when I reported t

Re: [mp2] make test errors

2005-02-17 Thread William McKee
de* the chroot? No, it was built inside the jail. I have no access outside of my jail. William -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] Documentation patch for install.pod

2005-02-17 Thread William McKee
On Wed, Feb 16, 2005 at 10:52:06PM -0500, Stas Bekman wrote: > Thanks, William. I've committed an extended version of your patch but at > the beginning of that section. Please let me know if it needs more work. Looks good. That explains it the way I now understand it to work. >

Re: Apache::Request equivalent of CGI::Capture?

2005-02-17 Thread William McKee
he A::R API to mimic CGI.pm (which may not even be the goal of this module). William [1] Presently, I'm primarily an Apache::Registry user. [2] http://search.cpan.org/~wonko/CGI-Application-Plugin-Apache-0.10/ -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] make test errors

2005-02-17 Thread William McKee
ely, I do not have access to a FreeBSD 5.3 server to run the tests outside of a jail to see if all are passing. I'll try to setup one in the coming weeks. Thanks, William [1] http://test.knowmad.com/~william/config.log -- Knowmad Services Inc. http://www.knowmad.com

[mp2] query_string

2005-02-18 Thread William Ross
hello list. very dumb question for you: with mod_perl2 and apreq2, what is the proper way to get the raw query string? (I want to pass it through the login process.) or is this Bad Thinking? thanks will

Re: [mp2] make test errors

2005-02-18 Thread William McKee
d test it under a normal account in a non-jail process to see if the same behavior manifests. I'll try to do that soon and report back. Actually, I suppose that I could try running the nonblock script first to see if that works. Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] query_string

2005-02-18 Thread William Ross
On 18 Feb 2005, at 13:11, Geoffrey Young wrote: William Ross wrote: hello list. very dumb question for you: with mod_perl2 and apreq2, what is the proper way to get the raw query string? using just the mp2 api its $r->args, just like mp1 http://perl.apache.org/docs/2.0/api/Apache/RequestRec.h

Re: [mp2] make test errors

2005-02-18 Thread William McKee
5-6 Does this provide any further information to help us track down the testing problems I'm seeing? Should I be using this version of the binary instead of the one configured without the ac_cv_o_nonblock_inherited setting? Thanks! William -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] make test errors

2005-02-18 Thread William McKee
On Fri, Feb 18, 2005 at 10:15:19AM -0500, William McKee wrote: > Actually, I suppose that I could try running the nonblock script first > to see if that works. I was able to get my hosting provider to run the nonblock program outside of a jailed process and it works. We've been tryin

Re: ModPerl performance on BSDs

2005-03-14 Thread William McKee
tion server is far more powerful). HTH, William [1] Stas, I'm still working on tracking down the issues. Just been sidetracked by my work lately. -- Knowmad Services Inc. http://www.knowmad.com

Re: shared memory

2005-03-18 Thread William McKee
available as a PPM on the theoryx5 server. I wrote up a node on PerlMonks last year about handling concurrency when using BerkeleyDB[1]. Before that, I'd never used it but would pick up it again in a heartbeat due to its ease, speed and to Perrin's recommendations (in the appropriate situ

Re: [mp1] "Can't locate object method 'handler' via package 'handler'..."

2005-03-18 Thread William McKee
of some shell scripts) or do concurrency testing. There is a skeleton[2] that you can use to help get started. Good luck, William [1] http://perl.apache.org/docs/general/testing/testing.html [2] http://perl.apache.org/~geoff/Apache-Test-skeleton-mp1.tar.gz -- Knowmad Services Inc. http://www.knowmad.com

Re: Apache Segfault because of mod_perl?

2005-04-01 Thread William McKee
On Thu, Mar 31, 2005 at 12:33:21PM +0200, Peter Roosdorp wrote: > Any ideas? Where can I get help with this? Hi Peter, Start with filling out a bug report[1]. William [1] http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems -- Knowmad Services Inc. http://www.knowmad.com

DirectoryIndex ignored when using perl-handler

2005-04-12 Thread William McKee
SendHeader On SetHandler perl-script PerlResponseHandler ModPerl::Registry SetHandler None SetHandler None This configuration had been working under mp1. Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Re: DirectoryIndex ignored when using perl-handler

2005-04-13 Thread William McKee
t the --permute-module would option work in my case? Any reason to use Apache::Dir in favor of reordering the modules (assuming that one has complete control over the httpd binary)? Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Re: DirectoryIndex ignored when using perl-handler

2005-04-13 Thread William McKee
he Apache log error but could not find a discussion about this issue. Any more ideas for me? Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Re: DirectoryIndex ignored when using perl-handler

2005-04-25 Thread William McKee
estRec' statement (yes, I'm still on RC4 at the moment). Now, the server is returning a 403 error with the following entry in the error log when I try to retrieve the index.html: [Mon Apr 25 09:48:17 2005] [error] file permissions deny server execution /home/william/Apache-Test-skeleton

Re: DirectoryIndex ignored when using perl-handler

2005-04-25 Thread William McKee
ur last test > is wrong - your DirectoryIndex puts the index script ahead of everything > else, so the results should match "Hello" and not "welcome". Indeed you are correct about the bad test. I've incorporated the new fixup handler into my production config and i

Re: [mp2] make test errors

2005-06-02 Thread William McKee
s. I'll try to spend some more time on it later today. Also, the t/protocol/echo_filter.t test is failing. It runs tests 1 and 2 then keeps running until it fills up the disk space then dumps a massive core file. I'm just skipping it for now. William On Fri, Feb 18, 2005 at 05:32:49PM

[MP2] pseudo_http.pm tests fail under FreeBSD/Jail

2005-06-02 Thread William McKee
-8<-- Start Bug Report 8<-- 1. Problem Description: Following on the heels of my previous post to Stas regarding an old thread, I've another test failure report. This one is for t/protocol/pseudo_http.pm. It is failing because the connection to the server is

Re: [MP2] pseudo_http.pm tests fail under FreeBSD/Jail

2005-06-02 Thread William McKee
it did not help. Can you tell me more about the bug you had? What does a "socket options issue" mean? Do you know what ac_cv_o_nonblock_inherited is doing when it gets set? Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Re: [MP2] pseudo_http.pm tests fail under FreeBSD/Jail

2005-06-02 Thread William McKee
fault with Image::Magick (which is the real reason I got back to working on these tests) has gone away. Regards, William -- Knowmad Services Inc. http://www.knowmad.com

[MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-02 Thread William McKee
-8<-- Start Bug Report 8<-- 1. Problem Description: While trying to track down a segfault that is occurring with Image::Magick, I went to build a version of mod_perl with debugging flags. Unfortunately this does not build for me under FreeBSD 5.3. Here is t

Re: Migration to mod_perl 2.0: Problems with CGI.pm

2005-06-03 Thread William McKee
NC Did you read the Migrating to mod_perl 2.0 renaming doc[1]? Are you using the right version of CGI? A proper bug report using mp2bug would have let us know. William [1] http://perl.apache.org/docs/2.0/rename.html -- Knowmad Services Inc. http://www.knowmad.com

Re: [MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-05 Thread William McKee
On Sat, Jun 04, 2005 at 09:29:53PM +1000, Stas Bekman wrote: > >/stubs/usr_local/src/mod_perl-2.0.0/src/modules/perl/modperl_util.c:472: > >undefined reference to `apr_os_thread_current' > >*** Error code 1 > > William, please try: > http://perl.apache.o

Re: [MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-06 Thread William McKee
On Tue, Jun 07, 2005 at 09:34:29AM +1000, Stas Bekman wrote: > William, as you can see from the source src/modules/perl/modperl_util.h > > #if defined(MP_TRACE) && defined(APR_HAS_THREADS) > #define MP_TRACEf_TID "/tid 0x%lx" > #define MP_TRACEv_TID (un

[MP2] Bug Report - Segfault when using Image::Magick

2005-06-06 Thread William McKee
-8<-- Start Bug Report 8<-- 1. Problem Description: When using Image::Magick (either 6.1.9.4 or 6.2.3) under mod_perl, the server segfaults. Used at the command line or under mod_cgi there are no errors. A core dump is attached. This is my first attempt at

Re: [MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-09 Thread William McKee
On Tue, Jun 07, 2005 at 11:35:46PM +1000, Stas Bekman wrote: > That's OK, William. But you aren't after defined symbols in .so, you are > after the APR_HAS_THREADS define which should be undef. Moreover, you are > building a static version so the symbols aren't co

Re: [MP2] Bug Report - Segfault when using Image::Magick

2005-06-09 Thread William McKee
e you referring to? mod_perl or Perl or Image::Magick? I'm not sure which .so files I need to nuke and rebuild. Looking at the segfault, it seems to occur in Perl rather than mod_perl. I've rebuilt mod_perl many times but it still segfaults (even with the mod_perl I just built with debugging flags enabled). Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Revisions to Testing POD

2005-07-06 Thread William McKee
I've been working with adding upload tests to my script and have a few additions to make to the testing.pod file which are attached. I've also updated all the t_cmp() examples to indicate the new format of received, expected, comment. Thanks, William -- Knowmad Services

Re: Revisions to Testing POD

2005-07-06 Thread William McKee
Well, I posted too fast. Scratch that first diff for this version which has a bit more detail about how the UPLOAD function is working. William -- Knowmad Services Inc. http://www.knowmad.com --- testing.pod.orig2005-07-06 09:21:53.0 -0400 +++ testing.pod 2005-07-06 15:26

Re: [mp2] make test errors

2005-08-20 Thread William McKee
On Wed, Jun 08, 2005 at 12:00:01AM +1000, Stas Bekman wrote: > Great! William, can you please write a new entry for the troubleshooting > chapter? With a full diagnosis and the solution? Really it should belong > to the Apache-Test troubleshooting, but as at the moment it doesn'

Re: Fw: [mp2] 'make test' fails

2005-08-22 Thread William Fulmer
-8<-- Start Bug Report 8<-- 1. Problem Description: make test fails on t/modperl/request_rec_tie_api.t . # Running under perl version 5.006002 for hpux # Current time local: Mon Aug 22 16:22:54 2005 # Current time GMT: Mon Aug 22 20:22:54 2005 # Using Tes

'make test' fails for mp2 under HP-UX

2005-08-23 Thread William Fulmer
Sorry, the subject on my first post probably obscured the fact that this was a new problem post. -8<-- Start Bug Report 8<-- 1. Problem Description: make test fails on t/modperl/request_rec_tie_api.t . # Running under perl version 5.006002 for hpux # Curre

Apache::Test not finding global config file

2005-08-25 Thread William McKee
Also, I noticed the use of a debug function in several places in the TestConfig.pm but couldn't figure out where this function is defined so that I can get it to output to STDERR. Does anyone know what module defines that function and what flags I need to pass in to get it to output its data? Using '-v' didn't seem to work. Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Re: Apache::Test not finding global config file

2005-08-25 Thread William McKee
found that everything works fine when I run t/TEST. However, when running ./Build test, the LoadModule directives are not being found. Do you know if there a way to pass the trace setting thru ./Build so I can figure out why it's having troubles finding my config file? Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Re: Apache::Test not finding global config file

2005-08-25 Thread William McKee
ONFIG_FILE = conf/mime.types [ debug] isolated httpd_defines SERVER_CONFIG_FILE = conf/httpd2.conf [ debug] inheriting config file: /usr/conf/httpd2.conf [ debug] Matched Apache revision Apache-AdvancedExtranetServer/2.0.50 2 Thanks for any ideas, William -- Knowmad Services Inc. http://www.knowmad.com

Re: Apache::Test not finding global config file

2005-08-31 Thread William McKee
test` is finding the wrong config file. I'm putting some debug statements into lib/Apache/TestConfigParse.pm::inherit_config() to see if I can track down where A::T is getting that bad location for the config file. Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Re: Apache::Test not finding global config file

2005-08-31 Thread William McKee
es HTTPD_ROOT = /etc/httpd/2.0 [ debug] isolated httpd_defines SERVER_CONFIG_FILE = conf/httpd2.conf [ debug] inheriting config file: /usr/conf/httpd2.conf I'd love to figure out where it's grabbing '/usr' to append to the SERVER_CONFIG_FILE that it finds. Any ideas? Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Re: Apache::Test not finding global config file

2005-08-31 Thread William McKee
tely untested) Perfect! That worked just fine. How can we get it added to A::T? Thanks, William PS: Sorry I missed you at YAPC this year. Perrin will tell you that I tried my best to track you down. Next time... -- Knowmad Services Inc. http://www.knowmad.com

Re: Apache::Test not finding global config file

2005-09-06 Thread William McKee
ne then tested it under the two systems above. Looks good. Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Error.pm and RegistryCooker

2008-12-06 Thread William Ahern
I was forced to move from mod_perl to mod_perl2 because of Ubuntu. I had originally created an Apache-Cocoon/Apache-AxKit-type infrastructure for the site. Pages just generated an XML tree and apply 1 or more XSLT stylesheets. There were more issues than I could posibly count (mostly my fault, I'm

executing PerlHandler after default_handler?

2009-05-12 Thread William T
Does anyone if it's possible to fall through the default_handler (decline?) to a PerlHandler? What I want to do is issue a redirect if the file that was requested is not on disk, and I don't want the extra stat due to an NFS mount. Of course I can serve up the file myself, but it seems as though

Re: Pass value from filter to anothe filter

2009-05-13 Thread William T
On Wed, May 13, 2009 at 3:09 AM, Idel Fuschini wrote: > PerlModule :: > PerlTransHandler +::module1 > >     SetHandler modperl >     PerlInputFilterHandler ::module2 > > > and I want to pass variable from module1 to module2 is it possible ? You can you use either pnotes or subpr

Re: # of threads needed to run winnt mpm correlates to # of vhosts

2004-03-09 Thread William A. Rowe, Jr.
How interesting! thanks for the discovery... FirstBill actually created the connection threadpool for mpm_winnt, iirc, so i'll punt to him or tackle next week. At 11:50 AM 3/9/2004, Stas Bekman wrote: >Steve Hay wrote: >>Steve Hay wrote: >> >>>I'll try chopping some of the new (post _12) tests

Re: mp2 Apache2.0.49 on HPUX11i : mod_perl does not load in Apache

2004-04-30 Thread William A. Rowe, Jr.
At 10:38 AM 4/29/2004, olivier blanc wrote: > >While trying to load compiled DSO modperl in Apache, I got the following error >Syntax error on line 223 of /opt/hpws/apache2/conf/httpd.conf: >Cannot load /opt/hpws/apache2/modules/mod_perl.so into server: Error 0 Hmmm, w

Re: mp2 Apache2.0.49 on HPUX11i : mod_perl does not load in Apache

2004-04-30 Thread William A. Rowe, Jr.
At 12:23 PM 4/30/2004, Stas Bekman wrote: >Thanks Bill! > >Do other Apache modules work as DSO on those platforms? Since my builds are 32 bit, I can't tell you for certain, but I'd expect the httpd/apr folks would have heard by now of a problem. Difference, is that most modules are not nearly as

Re: mod_perl on win32

2009-08-25 Thread William A. Rowe, Jr.
Michiel Beijen wrote: > > I'd like to know if it's possible to build mod_perl on Win32; I'd like > to use mod_perl with StrawberryPerl. It seems to be that the only way > that could be done is to compile Apache also with MinGW, and that's not > possible because of limited support for Windows Share

Re: ApacheCon 2009 in Oakland

2009-10-21 Thread William A. Rowe, Jr.
Jeff Trawick wrote: > On Mon, Oct 19, 2009 at 12:15 AM, Fred Moyer wrote: >> Greetings, >> >> Is anyone here attending ApacheCon in Oakland this year? I am >> organizing a mod_perl social. I'll be at the conference at least one >> day hacking mod_perl. > > This lurker will be there. Sounds lik

Re: modperl / apache13 memory footprints on 32 adn 64 bit servers

2009-12-24 Thread William A. Rowe Jr.
Joe Niederberger wrote: > Does anyone know if one can have 64bit perl use 64 bit addressing (to make > use of >4GB RAM) but still use 32-bit INTs etc (to keep footprint from > getting > large)? This is the default on windows x64.

Re: modperl and comet?

2010-04-16 Thread William A. Rowe Jr.
On 4/16/2010 3:37 PM, E R wrote: > I'm interested in adding a Comet capability to a (rather large) > mod-perl application. > > To get around XSS limitations, the Comet service will have the same > host and port as the web service. However, I don't want a large > mod-perl process tied up performing

Re: Bucket Heap? Error?

2010-06-25 Thread William A. Rowe Jr.
On 6/25/2010 4:54 PM, Dos Wizard wrote: > Hello, > > I can't make mod_perl to work with httpd-2.2.15 > While everything is ok, I get this annoying error whatever I had tried yet > (e.g. read the docs and follow the installation steps accurately) > > Currenlty I am using a custom compiled Perl5.1

Re: Fwd: All responses are 200 (server error)

2010-09-27 Thread William A. Rowe Jr.
Two thoughts... try status 400 (might be special handling for 4xx unknown) try r->status instead of/in addition to just r->status_line?

Re: Fwd: All responses are 200 (server error)

2010-09-27 Thread William A. Rowe Jr.
On 9/28/2010 12:25 AM, Nico Coetzee wrote: > The status 400 (with $r->status_line) produces the same result "HTTP/1.1 200 > OK" and with > ($r->status) is creates a "HTTP/1.1 400 Bad Request" (the custom string gets > lost) > > The $r->status with a code of 499 produces a "HTTP/1.1 400 Bad Reque

Re: Fwd: All responses are 200 (server error)

2010-09-27 Thread William A. Rowe Jr.
On 9/28/2010 1:32 AM, Nico Coetzee wrote: > and... it works now !! I'd hit the same bug from CGI some half-decade ago, sorry I didn't see where the problem was in the first place :(

Re: All responses are 200 (server error)

2010-10-01 Thread William A. Rowe Jr.
On 9/27/2010 6:09 AM, Peter Janovsky wrote: > Are you returning the value of 200 within a module you've written? I > encountered a > similar issue within a C module specific to valid requests. It was resolved > by returning > the internal constant OK. This is a generalized issue of serving Err

<    1   2   3   4   >