RE: [RELEASE CANDIDATE] mod_perl-1.31 RC3

2008-02-28 Thread Steve Hay
Issac Goldstand wrote: win32 (xp sp2, vc6 - no SDK upgrade) - Apache 1.41 binary - ActivePerl 5.10 (build 1002) FAIL (sorry, folks) Segfault at startup. I wonder if this is caused by mis-matched CRTs? ActivePerl is built using VC6 (and therefore uses MSVCRT.dll). You're also using VC6

RE: [RELEASE CANDIDATE] mod_perl-1.31 RC3

2008-02-28 Thread Steve Hay
Philippe M. Chiasson wrote: The mod_perl 1.31 release candidate 3 Works with Perl 5.10 is ready. It can be downloaded here: http://www.apache.org/~gozer/mp1/mod_perl-1.31-rc3.tar.gz All tests OK here: WinXP SP2, VC6 SP6, Apache 1.3.39 Perl 5.10.0 (both built from source).

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC3

2008-02-28 Thread Issac Goldstand
Steve Hay wrote: Issac Goldstand wrote: win32 (xp sp2, vc6 - no SDK upgrade) - Apache 1.41 binary - ActivePerl 5.10 (build 1002) FAIL (sorry, folks) Segfault at startup. I wonder if this is caused by mis-matched CRTs? ActivePerl is built using VC6 (and therefore uses

Re: need to write a fitler based on request header

2008-02-28 Thread J. Peng
On Thu, Feb 28, 2008 at 8:30 PM, Torsten Foertsch [EMAIL PROTECTED] wrote: On Thu 28 Feb 2008, J. Peng wrote: currently I write it with PerlAccessHandler, it also works. is it right with this handler? Do you want to send a redirect to the browser (HTTP code 3xx)? I use apache's inner

Re: need to write a fitler based on request header

2008-02-28 Thread J. Peng
Hello Torsten, I have tested your rewrite syntax like below: Location /unzip RewriteEngine On RewriteCond %{HTTP:Accept-Encoding} gzip [OR] RewriteCond %{HTTP:Accept-Encoding} deflate RewriteRule ^/unzip/(.*) /gziped/$1 [PT,L] /Location Sorry it can't work. Also I checked

Re: need to write a fitler based on request header

2008-02-28 Thread Torsten Foertsch
On Thu 28 Feb 2008, J. Peng wrote: Also I checked apache's official document for mod_rewrite: http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html Well, Apache 2.2 can, see http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond Other things you should be aware of: ... 4.

Modify output of Apache::PerlRun?

2008-02-28 Thread Peter Wood
Greetings, I'm running Apache 1.3.28 and mod_perl 1.27. I have quite a few Perl CGI scripts that run via Apache::PerlRun and product HTML output. I'd like to be able to modify the HTML output of these scripts after they finish running, so as to insert some HTML code on a site-wide basis without

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

Re: [RELEASE CANDIDATE] mod_perl-1.31 RC3

2008-02-28 Thread Randy Kobes
On Thu, 28 Feb 2008, Issac Goldstand wrote: Steve Hay wrote: Issac Goldstand wrote: win32 (xp sp2, vc6 - no SDK upgrade) - Apache 1.41 binary - ActivePerl 5.10 (build 1002) FAIL (sorry, folks) Segfault at startup. I wonder if this is caused by mis-matched CRTs? ActivePerl is built using

Re: return DECLINED or OK?

2008-02-28 Thread Philippe M. Chiasson
J. Peng wrote: At what cases should we return a DECLINED or a OK from a handler? Depends on the request phase you are running under, and ultimately, it's dictated by apache [1] I saw the handler of PerlTransHandler returns a Apache2::Const::DECLINED but dont know why. In a nutshell, there

Re: return DECLINED or OK?

2008-02-28 Thread Geoffrey Young
J. Peng wrote: At what cases should we return a DECLINED or a OK from a handler? I saw the handler of PerlTransHandler returns a Apache2::Const::DECLINED but dont know why. see the introduction to part III here: http://www.modperlcookbook.org/chapters.html in general, trans handlers

Re: return DECLINED or OK?

2008-02-28 Thread J. Peng
Thanks to all. That really be helpful.

Re: return DECLINED or OK?

2008-02-28 Thread J. Peng
On Fri, Feb 29, 2008 at 11:26 AM, Geoffrey Young [EMAIL PROTECTED] wrote: they usually alter the uri then let the default apache trans handler do the mapping. btw, mapping uri to disk sources in apache2 was done in MapToStorageHandler rather than Trans handler, is it?

svn commit: r632150 - /perl/modperl/branches/1.x/lib/Apache/FakeRequest.pm

2008-02-28 Thread gozer
Author: gozer Date: Thu Feb 28 14:48:16 2008 New Revision: 632150 URL: http://svn.apache.org/viewvc?rev=632150view=rev Log: Silence a warning under Perl-5.10 Name Apache::FakeRequest used only once: possible typo Reviewed-by: Gozer From: David E. Wheeler [EMAIL PROTECTED] Message-ID: [EMAIL

svn commit: r632247 - /perl/modperl/trunk/

2008-02-28 Thread phred
Author: phred Date: Thu Feb 28 23:20:31 2008 New Revision: 632247 URL: http://svn.apache.org/viewvc?rev=632247view=rev Log: Revert earlier commit r630678, more needs to be done before the other modules can be added to external. Thought I committed this yesterday but it appears to have not gone