Re: HTTP and MPM support

2019-01-27 Thread William A Rowe Jr
On Fri, Jan 25, 2019 at 11:35 AM John Dunlap wrote: > I'm in the process of optimizing our web application for performance and > one thing that I was really excited to try was mod_http2 because it allows > the browser to send multiple requests through the same TCP connection with > compressed hea

Re: Upgrading a mod_perl application from Apache 2.2 to Apache 2.4

2018-12-06 Thread William A Rowe Jr
On Thu, Dec 6, 2018 at 3:34 PM Andrew Green wrote: > Hi William, > > But you are better off looking at; > > http://perl.apache.org/docs/2.0/api/Apache2/ServerUtil.html#C_get_server_version_ > > which returns nothing except exactly what you are asking. > > > I di

Re: Upgrading a mod_perl application from Apache 2.2 to Apache 2.4

2018-12-06 Thread William A Rowe Jr
On Thu, Dec 6, 2018 at 9:25 AM Andrew Green wrote: > Hi all, > > Huge thanks to everyone for your replies on this. I’ve now been able to > work through everything, and I thought I’d post a quick update with some > additional notes in case there’s anyone else in the same boat searching the > arch

Re: CPAN will shutdown

2018-05-24 Thread William A Rowe Jr
On Tue, May 22, 2018 at 10:41 PM, Practical Perl wrote: > *search.cpan.org is shutting down* > For details read Perl NOC > . > After June 25th this page will redirect to MetaCPAN.org >

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-13 Thread William A Rowe Jr
et to use the X-Forwarded-For value as > $r->useragent_ip gives 127.0.0.1. > In the next stage, PerlTransHandler, a call to $r->useragent_ip() gives the > correct remote ip, but the X-Forwarded-For header is no longer available. > > > > From: Wi

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-13 Thread William A Rowe Jr
13, 2017 at 6:28 PM, JW wrote: > > From: William A Rowe Jr > To: JW > Cc: "modperl@perl.apache.org" > Sent: Friday, March 10, 2017 1:44 PM > Subject: Re: Question about Apache 2.4 and libapreq2 (Apache2::Request) > > On Thu,

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-10 Thread William A Rowe Jr
On Thu, Mar 9, 2017 at 9:53 PM, JW wrote: > > It's been over a month since moving to Apache 2.4. It was fairly > straightforward and required > little code to be updated, most of it Apache config. Everything runs as it > did before the update and I've > had no problems. The one function that didn'

Re: Where is the mod_perl development repo?

2017-03-08 Thread William A Rowe Jr
Explore the idea of wrapping your app as an fcgid endpoint. Httpd has two options (mod_fcgid managing the pool, and mod_proxy_fcgi with your own choice of independent pool management.) This offers the best of both... Larger number of httpd endpoints and less contention between fcgi processes. It i

Re: Absorb win32-apxs into httpd distro?

2016-12-14 Thread William A Rowe Jr
On Wed, Dec 14, 2016 at 2:20 AM, Steve Hay wrote: > On 14 December 2016 at 08:13, William A Rowe Jr > wrote: > > Randy wrote http://www.apache.org/dist/perl/win32-bin/ - but I'm > wondering > > who else here at httpd is interested in helping maintain and get th

Absorb win32-apxs into httpd distro?

2016-12-14 Thread William A Rowe Jr
Randy wrote http://www.apache.org/dist/perl/win32-bin/ - but I'm wondering who else here at httpd is interested in helping maintain and get this code into our own distribution? I've shipped this for a decade for my commercial customers, for every wrinkle and wart, I think many of our win32 users wo

Re: mod_perl Silent Failure, Very Mysterious

2016-11-22 Thread William N. Braswell, Jr.
led in require at -e line 1.BEGIN failed--compilation aborted at -e line 1. On 11/22/2016 at 11:03 PM, "Jie Gao" wrote:Hi William Where excatly is B::Hooks::OP::Check required / its Check.xs called? Regards, Jie * William N. Braswell, Jr. wrote: > Date: Tue, 22 Nov 2016 06:04:36 -

RE: mod_perl Silent Failure, Very Mysterious

2016-11-22 Thread William N. Braswell, Jr.
, please just let me know what I should do and I will do it! Thanks so much for your help. Perling,~ Will On 11/16/2016 at 3:17 AM, "Jie Gao" wrote: For the completeness of issue reporting, please run the following script and post the output: #!/usr/bin/perl use strict; use

Re: mod_perl Silent Failure, Very Mysterious

2016-11-15 Thread William N. Braswell, Jr.
/usr/sbin/apache2? _Program received signal SIGSEGV, Segmentation fault. 0x7fffeed67a00 in ?? ()_ Note the _??_ part in the output above... Where do I go from here? Thanks,~ Will On 11/15/2016 at 12:14 AM, "William N. Braswell, Jr." wrote:Hi Jie, I have captured the output of `

Re: mod_perl Silent Failure, Very Mysterious

2016-11-14 Thread William N. Braswell, Jr.
_sigreturn({mask=[]}) = 139951873083648[pid 6550] --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_USER, si_pid=6550, si_uid=0} ---[pid 6549] +++ exited with 0 ++ killed by SIGSEGV (core dumped) +++ [[[ END PASTE SNIPPET ]]] On 11/14/2016 at 11:54 PM, "Jie Gao" wrote:Add the "

mod_perl Silent Failure, Very Mysterious

2016-11-14 Thread William N. Braswell, Jr.
Hello everyone, I'm trying to enable a web app (Catalyst ShinyCMS) to run under mod_perl, it is definitely supposed to work but it fails without any errors, and I've been trying for several days to get it working. My system info: * Perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-g

Re: Bug - Strange issue with mod_perl 2.0.10 / Apache 2.4 corrupting nfreeze data

2016-08-07 Thread William A Rowe Jr
On Sun, Aug 7, 2016 at 8:37 AM, Alex Masidlover wrote: > On Sun, 2016-04-03 at 17:03 +0200, Vincent Veyron wrote: > > On Sun, 03 Apr 2016 14:11:23 +0100 > > Alex Masidlover wrote: > > > > > This has all worked perfectly up until I upgraded to Apache 2.4 / > > > mod_perl 2.0.10 - > > After upgrad

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: [mp2] Test failures in mod_perl 2.0.9 (Apache 2.2.31, perl 5.24.0)

2016-07-22 Thread William A Rowe Jr
On Jul 21, 2016 8:24 PM, "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. Hopefully a new mod_perl will come out that includes this fix. Note that httpd 2.4.23 announcement warned of the imminent end

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
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-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

[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: ApacheCon: Getting the word out internally

2016-07-19 Thread William A Rowe Jr
It isn't undergoing significant changes, but 2.0.9 fixed several bugs and brought it up-to-date with then-current perl releases a year ago June, and I understand there is some activity to have it build well with 5.24. On Jul 18, 2016 10:17 PM, wrote: > Hi, > > Is Apache modperl still in active d

Re: New segfault with 2.4.20 with mod_perl

2016-05-31 Thread William A Rowe Jr
On Tue, May 31, 2016 at 7:35 AM, William A Rowe Jr wrote: > On May 29, 2016 01:02, "Jie Gao" wrote: > > > > Hi All > > > > I wonder if anybody is looking at this issue. At the moment, the build > cores even at the end of generating a Makefile. > >

Re: New segfault with 2.4.20 with mod_perl

2016-05-31 Thread William A Rowe Jr
On May 29, 2016 01:02, "Jie Gao" wrote: > > Hi All > > I wonder if anybody is looking at this issue. At the moment, the build cores even at the end of generating a Makefile. > > If not, I would like to get my hands dirty in an attmpt to get the ball rolling. Any help on how to get a handle on the

Re: New segfault with 2.4.20 with mod_perl

2016-05-19 Thread William A Rowe Jr
Re-sending to include the correct perl.a.o dev list. On Thu, Apr 14, 2016 at 1:25 PM, William A Rowe Jr wrote: > The defect appears to be in t/protocol/TestProtocol/pseudo_http.pm... > > First, the handler is registered using > > PerlProcessConnectionHandler TestProtocol::pse

Re: highscalability.com report

2012-04-04 Thread William A. Rowe Jr.
On 4/4/2012 1:41 PM, Fred Moyer wrote: > On Wed, Apr 4, 2012 at 6:37 AM, demerphq wrote: >> On 4 April 2012 09:31, William A. Rowe Jr. wrote: >>> >>> When was the last time you built perl with no threading support? It's >>> certainly a 5%-15% win. >&g

Re: highscalability.com report

2012-04-04 Thread William A. Rowe Jr.
On 4/3/2012 9:50 PM, Jim Schueler wrote: > Hope this doesn't get trapped by too many spam filters. > > Sad news. Just saw a blog > > http://www.highscalability.com/ > > that reports YouPorn.com switched from Perl to PHP. Apparently there's a > reported 10% > improvement in speed, but I have

Re: Minor issue with AuthenNTLM

2012-04-04 Thread William A. Rowe Jr.
On 3/30/2012 1:56 AM, Dami Laurent (PJ) wrote: >> -Message d'origine- >> De : André Warnier [mailto:a...@ice-sa.com] >>> >>> I was considering forking the module and fixing bugs like these, but I >>> am not quite sure how much sense that makes given the fact that NTLM is >>> deprecated tech

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 ->|

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: 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: 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

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
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
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-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-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 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
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 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
/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 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
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
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-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 ->|

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: Ubuntu and mod_perl

2011-05-17 Thread William A. Rowe Jr.
On 5/17/2011 3:39 PM, Tom Kane wrote: > I'm still a little new at responding to mail lists. Here is an email that I > sent directly in a reply to Marco. I thought that it should be shared: > > Marco, > > I had to do the following just the other day: > > sudo ln -sf /usr/lib/libperl.so.5.10.1 /u

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 ->|

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: experiencing Out of memory errors

2011-01-27 Thread William A. Rowe Jr.
On 1/27/2011 7:16 PM, Michael Peters wrote: > On 01/27/2011 07:41 PM, Michael Ludwig wrote: >> Michael Peters schrieb am 27.01.2011 um 19:14 (-0500): >> >>> But, even after all that I have applications where we consistently >>> run 3-4G just for mod_perl/Apache. >> >> But surely not in one process

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

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: 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

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: 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.
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: 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: 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: 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

Fwd: Killing oversized Perl processes

2010-03-12 Thread William T
On Thu, Mar 11, 2010 at 1:41 PM, ARTHUR GOLDBERG wrote: > > OK, that kills big processes. What happens next is that Perl runs out of > memory (outputs "Out of Memory!") and calls the __DIE__ signal handler. So, > my plan is to catch the signal, redirect the browser to an error page, and > finally

Re: output filter

2010-01-29 Thread William T
On Thu, Jan 28, 2010 at 11:46 PM, wrote: > BTW, though we are still using modperl for developing some applications. > But it seems other instead technologies are becoming more and more > popular, like PHP,Django,Rails etc. > Is modperl  outdated in today? I don't know that PHP is becoming more p

Re: 302 Redirect not working as expected with PerlCleanupHandler and Firefox under ModPerl::Registry

2010-01-26 Thread William T
Caveat Lector: Long Cleanups done inline on the Apache children can cause problems. If you get a situation where the CleanUp takes to long OR you get enough traffic to the page(s) which engage the CleanUp then you will encounter a tipping point, and soon after your website will be almost complete

Re: Apache Blank Pages

2010-01-12 Thread William T
It seems pretty clear the blank pages are from the apache children dieing badly (hence the errors). I would make an educated guess based on the malloc error that your ram is bad. Try running your app on a different box and see if you get the same errors. On Jan 12, 2010 7:19 AM, "cfaust-dougot"

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: avoiding child death by size limit

2009-12-11 Thread William T
On Thu, Dec 10, 2009 at 11:28 AM, E R wrote: > Hi, > > I have a problem where a mod_perl handler will allocate a lot of > memory when processing a request, and this causes Apache to kill the > child due to exceeding the configure child size limit. > > Are there any special techniques people use to

Re: print throwing intermittent Segfaults

2009-11-21 Thread William T
This is the list of stuff I usually start with when I get a problem that doesn't seem to be tied to a particular code path. * code path - perhaps a particular code path is only being exercised rarely, and it has a bug * forking - when child dies, all open descriptors in it's name space also ge

Re: A better way to handle multiple client authentication?

2009-11-21 Thread William T
The documentation alludes to the variable 'pwd_whereclause'. If this variable is set it will be used in the passwd query. I would try and set it per client so that the query gets an additional where clause: SELECT pwd_field FROM pwd_table WHERE uid_field = user AND client = clientA

Re: Why people not using mod_perl

2009-10-24 Thread William T
On Fri, Oct 23, 2009 at 4:06 PM, Ihnen, David wrote: > > But I'm very interested to know at what point (if any) a site/app grows too > large or too complex for mod_perl and what defines that turning point. > Could Amazon run on mod_perl for example? To me mod_perl is just a platform like most oth

Re: DBI Connectons accumulate under Mod_perl

2009-10-23 Thread William T
On Tue, Oct 20, 2009 at 9:59 AM, Artem Kuchin wrote: > > however, whe i do in mysql > > show processlist; > > I see many connection hanging in sleep state and they grow and grow slowly! > Any idea why this happens? Could be many things. Maybe multiple hits to different Apache children are openin

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: Configuring virtual hosts on the fly

2009-10-13 Thread William T
On Tue, Oct 13, 2009 at 8:08 AM, Scott Gifford wrote: >> Sounds like you might be pushing the envelope on what Apache can >> actually do.  If you cannot solve the problem in Apache you could >> consider relying on Apache default vhost as a way to funnel all >> requests into a Perl "dynamic vhost"

Re: Configuring virtual hosts on the fly

2009-10-13 Thread William T
On Sun, Oct 11, 2009 at 11:54 AM, Scott Gifford wrote: > Hello, > > I'm working on an Apache configuration for a cluster of machines > serving a variety of virtual hosts. I would not try to unify disparate configs into one unless each server is actually going to service all the virtual hosts your

Re: distributing software built on mod_perl

2009-09-26 Thread William T
On Fri, Sep 25, 2009 at 7:32 AM, Mike Barborak wrote: > I think I see what you're saying. It seems like a very expensive > problem to solve. It must be a barrier to people choosing mod_perl to > develop their apps because it might be the case that their > distribution and installation process is m

Re: Why people not using mod_perl

2009-09-18 Thread William T
On Fri, Sep 18, 2009 at 1:34 AM, Clinton Gormley wrote: > I'm surprised that nobody has mentioned EPIC, the Perl plugin for > Eclipse.  It works really really well, at least as well as the Java > version (although it can't do as much prediction as Java can because of > the nature of static vs dyna

Re: distributing software built on mod_perl

2009-09-11 Thread William T
Whenever I creating shrink-wrapped software I always make packaging and distribution part of the development, qa and testing process. All packages for the platforms that we will be supporting. The reason I do this is to cut down on the customer support overhead. I've found you get less calls and

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: Help -- how to fork an Apache process in mod_perl safely? Not Apache2:Subprocess...

2009-08-25 Thread William T
There are all kinds of problems that you'll encounter and have to solve if you fork. I found it's better to call at(1) to start another seperate process immediatly. If you need to pass data JSON worked really well for me. -wjt On Aug 25, 2009 5:12 AM, "Victor Danilchenko" wrote: Hi all

Re: Can a PerlAuthzHandler access ENV variables set by mod_auth_kerb?

2009-07-07 Thread William T
On Mon, Jul 6, 2009 at 10:14 AM, Mike Diehn wrote: > > > Hello, all. > > I'm authenticating users with mod_auth_krb and setting KrbSaveCredentials > to on.  I've found that the credentials are stored in a file in /tmp.  The > name of the file is passed to CGI programs as the contents of an ENV var

Re: trying to add header field using PerlInputFilterHandler to proxy packets

2009-06-30 Thread William T
On Mon, Jun 29, 2009 at 8:07 PM, Brandon Allgood wrote: > I am running an apache server 2.2.3 on CentOS 5.2. I have turned on the > proxy with the following lines from my apache.conf: > > > ProxyRequests On > > Order deny,allow > Deny from all > Allow from all > > > > I would like

Re: svn commit: r773881 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS include/http_core.h modules/filters/mod_include.c server/config.c server/core.c

2009-05-22 Thread William A. Rowe, Jr.
Jeff Trawick wrote: > > Backing up a bit... > > I originally thought we could map bit values in 2.2.x to avoid affecting > modules, but that isn't possible since includes-with-exec is two bits > instead of one. Hold on... I think this can still work; * Retain new true 'Includes' bit as old In

Re: svn commit: r773881 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS include/http_core.h modules/filters/mod_include.c server/config.c server/core.c

2009-05-22 Thread William A. Rowe, Jr.
Joe Orton wrote: > > Having thought about this longer, I do agree that it would be reasonable > to provide OPT_INCNOEXEC as a noop integer for back-compat, but, it > turns out we're out of bits - allow_options_t is an unsigned char and > we're using 2^0 through 2^7 already. :( The C langauge p

Re: svn commit: r773881 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS include/http_core.h modules/filters/mod_include.c server/config.c server/core.c

2009-05-21 Thread William A. Rowe, Jr.
Jeff Trawick wrote: > Does somebody else care to share their opinion on this? Which of these > are okay? > > - existing mod_perl releases (and potentially other third-party modules) > won't compile with 2.2.12 CORE_PRIVATE may be broken from release to release, it's a necessary concession to pre

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

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: mod_perl configuration

2009-04-07 Thread William A. Rowe, Jr.
sandhya pawar wrote: > mod_perl.so has been successfully installed to > C:/PROGRA~1/APACHE~1/Apache2.2/modules. > To enable mod_perl, put in the directives >LoadFile "C:/Path/to/Perl/bin/perl510.dll" >LoadModule perl_module modules/mod_perl.so > in httpd.conf. For more information, visit >

Re: Security Related BUG within ModPerl 2.0.4

2009-02-28 Thread William A. Rowe, Jr.
I would like to report a security related bug within ModPerl 2.0.4, though prefer not to disclose the details to a public channel. The appropriate secure channel for all ASF related security vulnerability reporting is the closed list, secur...@apache.org, which will be triaged to the appropriat

Re: unsubscribe

2009-01-24 Thread William A. Rowe, Jr.
André Warnier wrote: > Phil Carmody wrote: >> --- On Fri, 1/23/09, David Nicol wrote: > [...] > I am personally against any change to the current situation. > These misdirected unsubscribe messages always seem to provide a useful > outlet for whomever needs to let out steam.. > :-) Awww... put th

Re: Multiple mod_perl 2.0 installations on one Linux machine

2009-01-19 Thread William A. Rowe, Jr.
Torsten Foertsch wrote: > On Mon 19 Jan 2009, Adam Prime wrote: >>> I thought you could build more than one and load the one you want >>> at runtime. Isn't that what Red Hat does? >> If redhat's shipping more than one mpm, they've patched httpd. > > Probably not httpd. At least Suse has not. Inst

Re: which reverse proxy for modperl?

2008-12-12 Thread William A. Rowe, Jr.
Jeff Pang wrote: > Hello, > > I have a modperl application on a host which is running with heavy load. > I have the plan to put a reverse proxy before it. > There are two well known reverse proxy software, one is Squid, another > is nginx. > Which one is better for modperl application? or is there

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

Re: mod_perl survey results

2008-11-11 Thread William A. Rowe, Jr.
Foo JH wrote: > Adam Prime wrote: >> The results of the mod_perl survey that Fred Moyer and I conducted can >> be found at the following link: > Interesting list. Any chance the workshop will come to Singapore? :) Not quite, but close... http://us.apachecon.com/c/accn2008/ (when this link breaks

Re: mod_perl survey results

2008-11-11 Thread William A. Rowe, Jr.
Adam Prime wrote: > André Warnier wrote: >> Maybe this is the time to ask. >> I am using Linux Debian, and getting Apache 2, perl and mod_perl 2 >> from there (apt-get). >> I have never been quite sure which mpm the packager decided to >> configure, as the apache2.conf contains parameters for prefo

Re: Windows settings cause crash (originally: FAIL!!!)

2008-10-13 Thread William A. Rowe, Jr.
Before changing either detail that Foo JH pointed out, first try backing down to activestate perl 5.8 build 820(?). It seemed to be a very stable build for most people's use. Foo JH wrote: > You may want to try 2 options: > 1. Use an older version of the Apache build like 2.2.6. It has been > kno

Re: DynaLoader.a: could not read symbols: Bad value - Can't build on vanilla Red Hat

2008-09-16 Thread William A. Rowe, Jr.
Bianca Taylor wrote: So at this point, I am confident that I compile Perl with -fPIC. I read all the ducumentation you pointed me to and that I could find, but it keeps coming back to the same error. You aren't... please review your shared cc flags from perl. The flag you looked at was not a

Re: DynaLoader.a: could not read symbols: Bad value - Can't build on vanilla Red Hat

2008-09-16 Thread William A. Rowe, Jr.
Fred Moyer wrote: William A. Rowe, Jr. wrote: Bianca Taylor wrote: /bin/ld: /tmp/unisolve/perl/lib/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /tmp/uni

Re: DynaLoader.a: could not read symbols: Bad value - Can't build on vanilla Red Hat

2008-09-16 Thread William A. Rowe, Jr.
Bianca Taylor wrote: /bin/ld: /tmp/unisolve/perl/lib/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /tmp/unisolve/perl/lib/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoad

Re: mod_perl caching problem

2008-06-28 Thread william
on of global variables are remembered. So I solved it by reseting that global variable before that global variable is used. Thanks. On 6/27/08, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Tue, Jun 24, 2008 at 9:07 AM, william <[EMAIL PROTECTED]> wrote: > > Before asking here,

Re: mod_perl caching problem

2008-06-24 Thread william
quot;. I have used global variable "our" for the variables that might caused problem. On 6/24/08, Geoffrey Young <[EMAIL PROTECTED]> wrote: > > > william wrote: > > > I like to add on something, I had put the pragma > > use strict; > > use warnings; > &

Re: mod_perl caching problem

2008-06-24 Thread william
I like to add on something, I had put the pragma use strict; use warnings; on all modules that I had, but I didn't get the warnings of "Variable "$foo" will not stay shared at..." . What other possibility that might cause my program to cache the result even when the input has already changed ? T

  1   2   3   4   >