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 did try this (and it worked fine) — b

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: 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 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 of httpd 2.2 as wel

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

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: httpd lib depencies

2008-05-16 Thread William A. Rowe, Jr.
Philip M. Gollucci wrote: Is this close ? The only way I found to figure this out is to unpack each http distribution and look in 'CHANGES' This is of use to mod_perl, so I've CC'ed them here, please drop them in replies unless its useful. Well, bottom line is that httpd 2.2 -> any apr 1.2, p

Re: parameters taintness

2008-04-21 Thread William A. Rowe, Jr.
Perrin Harkins wrote: On Mon, Apr 21, 2008 at 12:45 PM, Eli Shemer <[EMAIL PROTECTED]> wrote: It's stuck on "Waiting for... " in the status bar Step away from the browser. If you've never learned how to debug a web request with telnet or lwp-request, this is a good time to learn. Just google

Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1

2008-04-02 Thread William A. Rowe, Jr.
Issac Goldstand wrote: Ahem, On that subject, libapreq1 is already a year and a half into it's latest release cycle. We're still waiting for a PMC vote to finish the release... Someone remind me to do a lightning talk about this next time I'm at AC :) Time for a FFT presentation - 15 min

VC 'library' builds with visual studio

2008-03-12 Thread William A. Rowe, Jr.
I found this very interesting blog entry by Jim Beveridge about archiving an object library (.lib, or .a for unix-heads) on various flavors of Visual Studio 2005 and later... http://qualapps.blogspot.com/2007/12/winsxs-breaks-old-debug-libraries.html so anything we ship as a lib (which isn't a d

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC3

2008-02-28 Thread William A. Rowe, Jr.
Issac Goldstand wrote: I'm reasonably sure that Apache's binaries are still being built with vc6, which is what prompted me to test this particular set of prerequisites (since binary Apache + binary ActivePerl will be the assumed building blocks for a binary PPM package to be installed upon)

Re: Amazon

2008-02-23 Thread William A. Rowe, Jr.
J. Peng wrote: Apache with prefork mode can share the memory? Sorry I didn't know it. Sharing memory between multi-processes need extra programming, I don't know apache has done it already. Both prefork and worker models share memory. fork() takes all of your pages and marks them "copy on wri

Re: Apache 2.2.6, mod_perl 2.0.3 msvcrt.dll start problem

2008-02-09 Thread William A. Rowe, Jr.
Jan Dubois wrote: http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.8.822-MSWin32-x86-280952-symbols.zip The symbols.zip file should be unpacked in the C:\Perl directory, or wherever you installed ActivePerl as it contains .pdb file for both the bin and the lib subtree.

Re: Apache 2.2.6, mod_perl 2.0.3 msvcrt.dll start problem

2008-02-09 Thread William A. Rowe, Jr.
Randy Kobes wrote: I've also seen crashes of Apache/2.2.8 with mod_perl when Apache is started as a service, whereas it's fine if started from the command line. I'll try the suggestion in http://marc.info/?l=apache-modperl&m=120234507226177&w=2 to see if it's the version of ActivePerl that's

Re: Apache 2.2.6, mod_perl 2.0.3 msvcrt.dll start problem

2008-02-09 Thread William A. Rowe, Jr.
Foo JH wrote: Andre, I've recently set up a test based very closely on your platform: AP2.2.8 AP5.8.8 Build 822 MP2.0.3 You mention a VC 2005 build of httpd, which build of MP? 2005? Not sure which uwinnipeg is built against, msvcrt or msvcr80. But my recent observation is that if you use A

Re: Apache 2.2.6, mod_perl 2.0.3 msvcrt.dll start problem

2008-02-06 Thread William A. Rowe, Jr.
André Warnier wrote: I installed Apache 2.2.8, Activeperl 5.8.8.822 and mod_perl 2.0.3 from uwinnipeg. Rumor has it the prior Perl 5.8.8 from ActiveState was golden, and this 822 build introduces issues. Would you give a quick try to their immediately previous 5.8.8. release and let us know?

Re: [mp2] [question] $ENV{PATH} changes not taking effect?

2008-01-17 Thread William A. Rowe, Jr.
Bart Schaefer wrote: There's a thread from December that would seem to be related. From that thread: -- Forwarded message -- From: Michael Schout <[EMAIL PROTECTED]> Date: Dec 28, 2007 9:12 PM The real problem is that this is only safe under a prefork MPM because it is not th

Re: Windows Server 2008 Application Compatibility Lab Invitation

2008-01-15 Thread William A. Rowe, Jr.
I'm planning to attend to address issues on several fronts, and I hear some PHP folks will make it as well. It might be a really good chance to start digging deeper into the interop issues with MSVCR runtimes, so if there is a modperl dev or two who are interested, I'd love to spend some of this

Re: Theory and practice of mod_perl win32

2008-01-06 Thread William A. Rowe, Jr.
Foo JH wrote: Thinking from the perspective of the developer who tries very hard to avoid dealing with C/C++, can the ApacheLounge patches and compilation do the trick? Your question is irrelevant. Reread the post. Caveat: have not read the dialog on the mailing list described. Might be a

Theory and practice of mod_perl win32

2008-01-05 Thread William A. Rowe, Jr.
Anyone following the dialog on [EMAIL PROTECTED] and [EMAIL PROTECTED] is already aware of problems users are hitting with httpd 2.2.7 and modperl. Here's my current theory in search of a sanity check. There are two general classes of 'major issues' that we are going to encounter with msvc inte

Re: resend: [mp2] bug report - heap management error in mod_perl on Windows

2007-12-30 Thread William A. Rowe, Jr.
Randy Kobes wrote: Hi Tom, Thanks for the detailed report, and patch. I tried out the patch with perl-5.8.8, compiled against Apache/2.2.4, and all the tests passed. However, the restart problem still remains; evidently, http://issues.apache.org/bugzilla/show_bug.cgi?id=43534 or something

Re: Visual Studio 2008 and ActiveState Perl 5.10 updates

2007-12-29 Thread William A. Rowe, Jr.
Issac Goldstand wrote: -0.5 I would actually like to see builds prepared against MSVCRT80, which is available in the Vista SDK's bundled free compiler, rather than having users need to download the SDK + VS Express Edition + configure the one to find and work with the other (a royal pain). As l

Re: Visual Studio 2008 and ActiveState Perl 5.10 updates

2007-12-28 Thread William A. Rowe, Jr.
Jan Dubois wrote: On Fri, 28 Dec 2007, William A. Rowe, Jr. wrote: The obvious question is; what are your include libraries for that module? The modern compiler's? (e.g. studio 200X?) The SDK's? Or continue to build with VC 6? That Platform SDK headers (in case the module uses APIs

Re: Visual Studio 2008 and ActiveState Perl 5.10 updates

2007-12-28 Thread William A. Rowe, Jr.
Jan Dubois wrote: The initial switch away from MSVCRT.dll was due to a conflict inside Microsoft between the Windows and the VC++ teams: MSVCRT.dll has become so important to the operation of Windows itself that the compiler team was no longer allowed to update it; ownership had been transferred

Visual Studio 2008 and ActiveState Perl 5.10 updates

2007-12-28 Thread William A. Rowe, Jr.
Well folks, here's the news... Studio 2008, true to form, proves that MS is incapable of keeping around a stdc library any longer than one product cycle. Yes, our long awaited (not) MSVCR90 is here. Just to put it in perspective, cross-library malloc/free, stdio and some other facilities are ti

Re: UDP support in mod_perl2/apache

2007-11-01 Thread William A. Rowe, Jr.
Issac Goldstand wrote: Nice. A cursory look appears to match what I have. I also dug up another nugget - a complete patch against httpd-2.2.6 for the UDP support (excluding only the APR recvfrom issue) - I thought I had it lying around somewhere. I included two; one with and one without the AP

Re: UDP support in mod_perl2/apache

2007-11-01 Thread William A. Rowe, Jr.
Issac Goldstand wrote: The same patchset can be used for 2.2.x branch pretty much as is with the single addition of backporting the apr_socket_sendto function from trunk (it's broken in the APR that ships with 2.2.x) We agree that's true - have you looked at apr 1.2.x branch lately? A week or

Re: Apache crashing

2007-10-10 Thread William A. Rowe, Jr.
Perrin Harkins wrote: > On 10/10/07, Ian G. Tyndall <[EMAIL PROTECTED]> wrote: >> Apache version: 2.2.6 > > There was a thread earlier about that version not being an official > apache release. If you mix and match binaries from multiple sources > you are likely to have trouble. Have you tried t

Re: Best version of Apache for Win32 deployment

2007-10-04 Thread William A. Rowe, Jr.
Octavian Rasnita wrote: > > Yes I've enabled DrWatson and I put the files with symbols in Apache > directory, however I can't find something that could help me in the > DrWatson log file. Good. Don't actually interrupt the program (the example using -g {PID} to force the program to die). Your s

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread William A. Rowe, Jr.
Octavian Rasnita wrote: > > Well, I've uninstalled VS6 and VS.net, but this message still appears, > so I have no where to go in Tools/Options/... You didn't bother to finish reading; >> http://httpd.apache.org/dev/debugging.html Which tells you how to enable/override drwtsn32 as your default e

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread William A. Rowe, Jr.
Octavian Rasnita wrote: > > And I tried starting the server, but it appeared an error window "Visual > Studio just in time debugger" and it also printed the following errors > in the command prompt: That's a crash. Studio will give you all the info but it's harder to navigate, for some informati

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread William A. Rowe, Jr.
Foo JH wrote: > Octavian Rasnita wrote: >> Regarding the best Apache for Windows, I have a problem running Apache >> under >> windows and I think this thread might help me. >> >> I tried Apache 2.2.4 with and without SSL support, and Apache 2.2.6 from >> apachelounge, but they still don't work. > I

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread William A. Rowe, Jr.
Octavian Rasnita wrote: > > I tried Apache 2.2.4 with and without SSL support, and Apache 2.2.6 from > apachelounge, but they still don't work. Simply put; Apache 2.2.4 did work. The one-off build at AL of 2.2.6 isn't 2.2.6; 2.2.5 represents an aborted attempted at a release, none of the above r

Re: Best version of Apache for Win32 deployment

2007-10-03 Thread William A. Rowe, Jr.
Foo JH wrote: > >> Right. Except there is no 2.2.5; > 2.2.5 is not released on the Apache web site. Those who want this > version can get it at ApacheLounge. They can get it from SVN too, that doesn't mean it's an ASF version. The ASF specifically rejected it, which makes it's persistence a pr

Re: Best version of Apache for Win32 deployment

2007-10-02 Thread William A. Rowe, Jr.
Foo JH wrote: > Hi all, > > Just want to share something I read today (fairly old news) at > ApacheLounge: > http://www.apachelounge.com/forum/viewtopic.php?t=1907 > > Since many (most?) people who use Apache from Apache Lounge also use > mod_fcgid and/or mod_perl, it seems that 2.2.5 will remain

Re: Solution to apr stdio/msvc crt/service handles and logging

2007-09-28 Thread William A. Rowe, Jr.
Randy Kobes wrote: > > The patched version built fine, and with the svn mod_perl2 > sources, and perl-5.8.8 (ActivePerl 822), all the mp2 > tests passed using VC++ 6. Great work! FYI I'm waiting on a third set of eyeballs before this is all committed. I'd especially appreciate any input from Tom

Re: Solution to apr stdio/msvc crt/service handles and logging

2007-09-27 Thread William A. Rowe, Jr.
Randy Kobes wrote: > > I'm currently rebuilding everything with VC 8 (the free > version), and will report on that later. Yea - I discovered it's quite impossible to get msvcrt-linked activestate to cooperate with openssl compiled against msvcr80, and probably not against httpd+mod_perl against m

Re: Solution to apr stdio/msvc crt/service handles and logging

2007-09-26 Thread William A. Rowe, Jr.
> http://people.apache.org/~wrowe/apr-1.x-win32-nohandle.patch FYI - that one does not apply cleanly to apr-1.2 (it's trunk) if you want the easily applied flavor, that would be; http://people.apache.org/~wrowe/apr-1.2-win32-nohandle.patch The httpd patch applies with little pain.

Solution to apr stdio/msvc crt/service handles and logging

2007-09-26 Thread William A. Rowe, Jr.
Presented in two parts, the first; http://people.apache.org/~wrowe/apr-1.x-win32-nohandle.patch contains several changes that I believe will help the modperl community, the mod_fcgid folks and virtually anyone attempting to do handle mashups of different posix based engines on Win32. In the prev

Re: resend: Bug report re: Apache 2.2.6 on Windows

2007-09-18 Thread William A. Rowe, Jr.
Michael Lackhoff wrote: > On 18.09.2007 15:47 William A. Rowe, Jr. wrote: > > Hmm, I don't understand this, so I cannot say how serious it could be. > My question is: Should I stick with 2.0.59 or upgrade with a patched > 2.0.61/2.2.6? > This is a production server and the

Re: resend: Bug report re: Apache 2.2.6 on Windows

2007-09-18 Thread William A. Rowe, Jr.
Tom Donovan wrote: > Michael Lackhoff wrote: >> On 23.12.37378 20:59 Tom Donovan wrote: >> >>> 1. Problem Description: >>> >>> perl-script handler fails with Apache 2.2.6 on Windows >>> due to changes in stdin/stdout/stderr handles in mpm_winnt >>> >>> Problem occurs with mod_perl 2.0.3 or wi

Re: resend: Bug report re: Apache 2.2.6 on Windows

2007-09-14 Thread William A. Rowe, Jr.
William A. Rowe, Jr. wrote: > > is that mod perl is attempting to protect us from ourselves even before > the fixes went into win32. Of all of the adjustments in version 2.2.6, > try backing out only this single effect of the patch, which closed stdin > on both the parent and ch

Re: resend: Bug report re: Apache 2.2.6 on Windows

2007-09-14 Thread William A. Rowe, Jr.
Tom Donovan wrote: > > -8<-- Start Bug Report 8<-- > 1. Problem Description: > > perl-script handler fails with Apache 2.2.6 on Windows > due to changes in stdin/stdout/stderr handles in mpm_winnt > > Problem occurs with mod_perl 2.0.3 or with >

Re: Child processes/cache question

2007-09-10 Thread William A. Rowe, Jr.
David Willams wrote: > Condition: I'm pre-load sharable data at apache start, but I also have > different data that is caching itself within child processes. > Goal: to pre-cache within each process, the data that cannot be cached > within the shared space. > > Not sure if I'm asking this correct

Re: seg faults when running modperl and GD::Graph

2007-09-05 Thread William A. Rowe, Jr.
Matt Williamson wrote: > So I got apache to run under gdb, but I still am somewhat non-the-wiser. > It appears to happen the second time that the handler is used to process > the request, so I guess one workaround would be to call my script as a > plain cgi. FYI compiling with -g will often give

Re: seg faults when running modperl and GD::Graph

2007-09-05 Thread William A. Rowe, Jr.
Manoj Bist wrote: > One option would to be run apache under single threaded mode(option > -X) under gdb and see where it is crashing. Once you identify the > .so where it is crashing, you can try reproducing the crash outside > apache context. See also http://httpd.apache.org/dev/debugging.html

Re: PerlRequire executed 4 times on apache startup

2007-08-28 Thread William A. Rowe, Jr.
Tobias Zeising wrote: > Hi all, > > I have a weird problem: on startup apache executes 4 times a Perl Script > I included via > > PerlPostConfigRequire startup.pl Yes, as Foo observed, this will happen 2x on Unix, 4x on Windows due to the MPM. Notice that 1x and 2x (and 5x and 8x and 11x upon

Re: Disconnection from basic auth

2007-08-22 Thread William A. Rowe, Jr.
Geoffrey Young wrote: > > Matthieu FEREYRE wrote: >> I use a basic authentification (Apache2::Access) wich works fine, but my >> question is : >> How do I disconnect users ? > > the short answer is that you can't. this is why you don't see popup > authentication anywhere anymore :) > > "When y

Re: Using Apache 2.2 from ApacheLounge for Win32 modperl

2007-08-18 Thread William A. Rowe, Jr.
Randy Kobes wrote: > On Sun, 19 Aug 2007, Foo JH wrote: >> >> My recommendation: >> 1. Use the Apache2.2.x binary from ApacheLounge >> 2. Use the MSI version of ActivePerl, NOT the AS version >> 3. Use the mod_perl library from theoryx5, NOT from ApacheLounge >> 4. Use the libapreq2 library from th

Re: Scripts works under CGI but not under mod_perl (and thread stack size)

2007-08-14 Thread William A. Rowe, Jr.
William A. Rowe, Jr. wrote: > > http://httpd.apache.org/docs/2.0/mod/quickreference.html > > search for the word "stack" and answer your own question So... testing against worker mpm, the answer is no; ThreadStackSize is not a supported directive. Sorry - I'm no

Re: Scripts works under CGI but not under mod_perl (and thread stack size)

2007-08-14 Thread William A. Rowe, Jr.
Manoj Bist wrote: > > That's why I want to try bumping up the stack size for > apache/mod_perl. So far I have not been able to find out if that is > possible in apache2. 0. Dude - I gave you the answer hours ago http://httpd.apache.org/docs/2.0/mod/quickreference.html search for the word "stack

Re: Scripts works under CGI but not under mod_perl (and thread stack size)

2007-08-14 Thread William A. Rowe, Jr.
Perrin Harkins wrote: > > It definitely could be the cause of issues with a C library using > sockets that isn't written to be threadsafe. The general reason to > use prefork though is the more efficient use of memory due to > copy-on-write. I'm familiar with copy-on-write. Could you elaborate?

Re: Scripts works under CGI but not under mod_perl (and thread stack size)

2007-08-14 Thread William A. Rowe, Jr.
Perrin Harkins wrote: > On 8/14/07, Manoj Bist <[EMAIL PROTECTED]> wrote: >> Is it possible to change the stack size in mod_perl(Similar to ulimit -s >> unlimited etc.)? > > The stack size? What are you trying to do? I'm not aware of anything > special about stack size in mod_perl that would be

Re: SV: [mp2+Win32] Frustration over Apache 2.0/ 2.2 restart failure

2007-08-11 Thread William A. Rowe, Jr.
> Apache/ modperl starts up fine, but if I try to restart the service, it > will not survive. > > Please share with me any tips to improve the situation. I'm open to any > ideas. Foo, you missed my point all together. Something in YOUR PERL APP is opening resources that are "locked" and will pre

Re: [mp2+Win32] Frustration over Apache 2.0/ 2.2 restart failure

2007-08-10 Thread William A. Rowe, Jr.
Foo JH wrote: > Hi all, > > I am rather disappointed (and a little frustrated as well) on modperl's > inability to survive an Apache restart on the Windows platform. The > platform combo tested are Windows 2003 + Apache 2.2 (and Apache 2.0) + > modperl2 + libapreq2 Foo - I'm honesty clueless. I'

Re: apache and php

2007-07-02 Thread William A. Rowe, Jr.
Eli Shemer wrote: > > I have installed mod_perl 1.3 statically to apache while using php as a DSO > > After I've gracefully reloaded apache, php stopped working > > What is the best way to get them both working together ? > > Should I statically link php as well or do I have to use mod_perl as

Re: Where is Perl compilation output when using modperl ?

2007-06-28 Thread William A. Rowe, Jr.
Alvar Freude wrote: > Hi, > > -- Jens Helweg <[EMAIL PROTECTED]> wrote: > >> Is there a way to get the compilers output from perl, so I can get >> details on what is wrong in the code ? > > usually you get the errors in the apache's error log. I don't know where > it is stored on Windows, you ma

Re: Apxs not installed

2007-05-23 Thread William A. Rowe, Jr.
Martijn wrote: > Hello. > > While rebuilding our webserver, I am trying to install modperl 2.0.3 > under Apache 2.0.52 on RHEL4. However, when I run 'perl Makefile.PL', > it says it can't find apxs. I am quite sure it isn't installed -find > doesn't find it, so it definitely doesn't exist under it

Re: Fw: Re: mod_perl closes apache's stdin and/or stdout

2007-04-02 Thread William A. Rowe, Jr.
Stas Bekman wrote: > William A. Rowe, Jr. wrote: >> Stas Bekman wrote: >>> But which file to open as a place holder? In this example I use >>> /dev/null and it works as you wish. AFAIK, windows doesn't have >>> /dev/null, unless you run on cygwin. >>

Re: Fw: Re: mod_perl closes apache's stdin and/or stdout

2007-04-02 Thread William A. Rowe, Jr.
Stas Bekman wrote: > > But which file to open as a place holder? In this example I use > /dev/null and it works as you wish. AFAIK, windows doesn't have > /dev/null, unless you run on cygwin. Of course, it does, but it has the classic MS-DOS name of "NUL" present in the context of any directory (

Re: Mod_Perl2 vs. Mod_Perl1, MPM_WORKER....

2007-03-26 Thread William A. Rowe, Jr.
Perrin Harkins wrote: > On 3/26/07, Frank Wiles <[EMAIL PROTECTED]> wrote: >> > Further, what success have people had using threading with mod_perl2, >> > using MPM_WORKER? >> >>Other than for some testing of modules I haven't found a need to use >>either the threaded or worker MPMs. > > I

Re: supported modperl? [was Zend PHP]

2007-03-08 Thread William A. Rowe, Jr.
If you are looking for a commercially supported modperl distribution for 1.3/2.0/2.2, and you happen to fall into one of Windows Server, Linux x86, Solaris x86 or sparc, hpux parisc2 or aix ppc/power you might want to investigate http://www.covalent.net/solutions/ers/index.html [Disclaimer: I'm the

  1   2   >