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

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 >

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

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

2017-03-14 Thread William A Rowe Jr
has yet 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. > > > ___

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 <gav...@yahoo.com> wrote: > > From: William A Rowe Jr <wr...@rowe-clan.net> > To: JW <gav...@yahoo.com> > Cc: "modperl@perl.apache.org" <modperl@perl.apache.org> > Sent: Friday, March 10, 2017

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

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

Re: mod_perl Silent Failure, Very Mysterious

2016-11-22 Thread William N. Braswell, Jr.
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 -0600 > From: &quo

RE: mod_perl Silent Failure, Very Mysterious

2016-11-22 Thread William N. Braswell, Jr.
ust 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 warnings F

Re: mod_perl Silent Failure, Very Mysterious

2016-11-15 Thread William N. Braswell, Jr.
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 `strac

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

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

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" <william.w...@oracle.com> 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.

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

2016-07-22 Thread William Ward
/ 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 <william.w...@oracle.

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

2016-07-22 Thread William Ward
;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. Hopefully a new mod_pe

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

2016-07-21 Thread William Ward
een 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 Bug

[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

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 <wr...@rowe-clan.net> wrote: > On May 29, 2016 01:02, "Jie Gao" <j@sydney.edu.au> wrote: > > > > Hi All > > > > I wonder if anybody is looking at this issue. At the moment, the build

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

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 <wr...@rowe-clan.net> wrote: > The defect appears to be in t/protocol/TestProtocol/pseudo_http.pm... > > First, the handler is registered using > > PerlProcessConnectio

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 technology. Huh ?

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 haven't

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 demer...@gmail.com wrote: On 4 April 2012 09:31, William A. Rowe Jr. wr...@rowe-clan.net wrote: When was the last time you built perl with no threading support? It's certainly a 5%-15% win. Not certainly. We

Re: mod_perl-1.31 compilation with perl 5.14.1 fails

2011-06-29 Thread William Bulley
... -- 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
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: apache2 or mod_perl2 oddball error

2011-06-21 Thread William Bulley
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
... -- William Bulley Email: w...@umich.edu 72 characters width template -|

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
. 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 Fred Moyer f...@redhotpenguin.com on Fri, 06/17/11 at 13:43: On Fri, Jun 17, 2011 at 10:29 AM, William Bulley w...@umich.edu 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

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
/usr/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 per...@elem.com on Fri, 06/17/11 at 13:44: On Fri, Jun 17, 2011 at 12:34 PM, William Bulley w...@umich.edu wrote: ? PerlModule Apache2::Const -compile = ':common' ? PerlModule APR::Const -compile = ':common' That syntax used to work? It seems unlikely. I've

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
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 f...@redhotpenguin.com on Fri, 06/17/11 at 13:43: On Fri, Jun 17, 2011 at 10:29 AM, William Bulley w...@umich.edu 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

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
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 between mod_perl2 and Perl 5.14, but I don't really have any clue. Regards, web... -- William Bulley Email: w...@umich.edu

Re: apache2 or mod_perl2 oddball error

2011-06-17 Thread William Bulley
According to Perrin Harkins per...@elem.com on Fri, 06/17/11 at 15:35: On Fri, Jun 17, 2011 at 3:20 PM, William Bulley w...@umich.edu 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 file

apache2 or mod_perl2 oddball error

2011-06-16 Thread William Bulley
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
in the httpd_error.log file. Any other ideas? 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

Re: failure to build Apache2::Request

2011-01-31 Thread William Bulley
to have looked 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

failure to build Apache2::Request

2011-01-30 Thread William Bulley
might be able to quickly figure out what's wrong... Issac On 27/01/2011 20:40, William Bulley wrote: According to Issac Goldstand mar...@beamartyr.net on Thu, 01/27/11 at 13:37: I must have missed that bit, but yes, it does need mod_perl (unless you want to disable the Perl

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 as the OP said

Re: huge apache+mod_perl processes

2010-10-06 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

Re: Secure web

2010-10-06 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, adi.yat...@gmail.com wrote: Hai, I am new to mod_perl. I want to build secure web based applications (not https), I

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

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

2010-09-28 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 Request Sort of

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

2010-09-28 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.
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.12.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 the

Re: mod_perl memory

2010-03-16 Thread William T
On Mon, Mar 15, 2010 at 11:26 PM, Pavel Georgiev pa...@3tera.com 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

Fwd: Killing oversized Perl processes

2010-03-12 Thread William T
On Thu, Mar 11, 2010 at 1:41 PM, ARTHUR GOLDBERG a...@cs.nyu.edu 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

Re: output filter

2010-01-29 Thread William T
On Thu, Jan 28, 2010 at 11:46 PM, m...@normalperson.e4ward.com 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

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

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 pc88m...@gmail.com 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

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

Re: Why people not using mod_perl

2009-10-24 Thread William T
On Fri, Oct 23, 2009 at 4:06 PM, Ihnen, David dih...@amazon.com 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

Re: DBI Connectons accumulate under Mod_perl

2009-10-23 Thread William T
On Tue, Oct 20, 2009 at 9:59 AM, Artem Kuchin mat...@itlegion.ru 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

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 f...@redhotpenguin.com 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.

Re: Configuring virtual hosts on the fly

2009-10-13 Thread William T
On Sun, Oct 11, 2009 at 11:54 AM, Scott Gifford sgiff...@suspectclass.com 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

Re: Configuring virtual hosts on the fly

2009-10-13 Thread William T
On Tue, Oct 13, 2009 at 8:08 AM, Scott Gifford sgiff...@suspectclass.com 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

Re: distributing software built on mod_perl

2009-09-26 Thread William T
On Fri, Sep 25, 2009 at 7:32 AM, Mike Barborak barbo...@basikgroup.com 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

Re: Why people not using mod_perl

2009-09-18 Thread William T
On Fri, Sep 18, 2009 at 1:34 AM, Clinton Gormley cl...@traveljury.com 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

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

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 vic...@askonline.net

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 Shared

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 Diehnm...@diehn.net 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

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 Allgoodallg...@numerate.com 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: IfModule mod_proxy.c ProxyRequests On Proxy * Order deny,allow Deny from all

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

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

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 prevent

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 idel.fusch...@gmail.com wrote: PerlModule :: PerlTransHandler +::module1 Location /xxx/*     SetHandler modperl     PerlInputFilterHandler ::module2 /Location and I want to pass variable from module1 to module2 is it possible ?

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

Re: unsubscribe

2009-01-24 Thread William A. Rowe, Jr.
André Warnier wrote: Phil Carmody wrote: --- On Fri, 1/23/09, David Nicol davidni...@gmail.com 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.. :-)

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. Instead they

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 any

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.
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 prefork,

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

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

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: mod_perl caching problem

2008-06-28 Thread william
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, I had read a few articles

mod_perl caching problem

2008-06-24 Thread william
Hello, Before asking here, I had read a few articles in perl.apache.org about caching issue in mod_perl, but I still don't get it right with my program when I had already changed the input, it still giving me the result of old input. I aware that the child process will only compile the code for

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 ?

Re: mod_perl caching problem

2008-06-24 Thread william
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; on all modules that I had, but I didn't get the warnings of Variable $foo will not stay

Fwd: mod_perl interactive debugging

2008-06-01 Thread william
-- Forwarded message -- From: william [EMAIL PROTECTED] Date: Jun 1, 2008 6:11 PM Subject: Re: mod_perl interactive debugging To: Fred Moyer [EMAIL PROTECTED] On 6/1/08, william [EMAIL PROTECTED] wrote: On 6/1/08, william [EMAIL PROTECTED] wrote: On 6/1/08, Fred Moyer

Re: mod_perl interactive debugging

2008-05-31 Thread william
On 5/29/08, william [EMAIL PROTECTED] wrote: On 5/29/08, Fred Moyer [EMAIL PROTECTED] wrote: william wrote: On 5/29/08, Perrin Harkins [EMAIL PROTECTED] wrote: On Wed, May 28, 2008 at 3:33 AM, william [EMAIL PROTECTED] wrote: I put the following lines at the top of my

Re: mod_perl interactive debugging

2008-05-31 Thread william
On 6/1/08, Fred Moyer [EMAIL PROTECTED] wrote: william wrote: On 5/29/08, william [EMAIL PROTECTED] wrote: On 5/29/08, Fred Moyer [EMAIL PROTECTED] wrote: william wrote: On 5/29/08, Perrin Harkins [EMAIL PROTECTED] wrote: On Wed, May 28, 2008 at 3:33 AM

Re: mod_perl interactive debugging

2008-05-31 Thread william
On 6/1/08, william [EMAIL PROTECTED] wrote: On 6/1/08, Fred Moyer [EMAIL PROTECTED] wrote: william wrote: On 5/29/08, william [EMAIL PROTECTED] wrote: On 5/29/08, Fred Moyer [EMAIL PROTECTED] wrote: william wrote: On 5/29/08, Perrin Harkins [EMAIL

Syntax error in mod_perl but not in shell command

2008-05-29 Thread william
Hello, I am running this code print Content-type: text/html\n\n; use Switch; $t =1; switch ($t) { case 1 { print number 1\n; } } I have not problem running in shell command [EMAIL PROTECTED]:/var/www/modperl$ perl test.pl Content-type: text/html number 1 But when I

Re: Syntax error in mod_perl but not in shell command

2008-05-29 Thread william
On 5/30/08, Heiko Jansen [EMAIL PROTECTED] wrote: As far as I understand it, mod_perl will eval{} the code it's going to run and in the paragraph Limitations on http://search.cpan.org/~rgarcia/Switch-2.13/Switch.pm we're told that Due to the way source filters work in Perl, you can't use

Re: mod_perl interactive debugging

2008-05-28 Thread william
On Wed, May 28, 2008 at 5:50 AM, Perrin Harkins [EMAIL PROTECTED] wrote: On Tue, May 27, 2008 at 1:38 PM, william [EMAIL PROTECTED] wrote: Hello, I am trying to debug my perl code under mod_perl and I had followed all the instruction at this section http://perl.apache.org/docs/1.0/guide

Re: mod_perl interactive debugging

2008-05-28 Thread william
On 5/29/08, Perrin Harkins [EMAIL PROTECTED] wrote: On Wed, May 28, 2008 at 3:33 AM, william [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~$ sudo apache2 -X -DPERLDB -k restart [notice] Apache::DB initialized in child 10312 Do I have to use DDD to see the prompt ? No, it should just

Re: mod_perl interactive debugging

2008-05-28 Thread william
On 5/29/08, Fred Moyer [EMAIL PROTECTED] wrote: william wrote: On 5/29/08, Perrin Harkins [EMAIL PROTECTED] wrote: On Wed, May 28, 2008 at 3:33 AM, william [EMAIL PROTECTED] wrote: I put the following lines at the top of my startup.pl script use APR::Pool (); #specific for mod_perl

  1   2   3   >