Skip Menu |

This queue is for tickets about the SVN-Web CPAN distribution.

Report information
The Basics
Id: 17085
Status: resolved
Priority: 0/
Queue: SVN-Web

People
Owner: Nobody in particular
Requestors: DONGXU [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.42
Fixed in: (no value)



Subject: support for Apache2
Current days I am trying SVN::Web with Apache2. Everything is going fine except one issue. The browser couldn't get a valid response code from the module since in SVN::Web.pm the return code is hard-coded as: -------------------- sub handler { ... ... return Apache::OK; } -------------------- While with Apache2 should be Apache2::Const::OK. Is it possible to add Apache version check here, then eval specific OK here? Maybe check $VERSION from APR or ModPerl. I am not very familiar with Apache and ModPerl. Best Regards, Dongxu
Hi, On Mon Jan 16 02:06:12 2006, DONGXU wrote: Show quoted text
> Current days I am trying SVN::Web with Apache2. Everything is going fine > except one issue. The browser couldn't get a valid response code from > the module since in SVN::Web.pm the return code is hard-coded as: > -------------------- > sub handler { > ... ... > return Apache::OK; > } > -------------------- > While with Apache2 should be Apache2::Const::OK. > Is it possible to add Apache version check here, then eval specific OK > here? Maybe check $VERSION from APR or ModPerl. I am not very familiar > with Apache and ModPerl.
Thanks for the bug report. Unfortunately, I don't know anything about Apache2 and mod_perl2. As you have a working Apache2 installation, could you try your suggestion, and if it works for you, please could you send me a patch so I can include it in the next release of SVN::Web. Thank you. N
Show quoted text
> > Is it possible to add Apache version check here, then eval specific > > OK here?
Could you try the attached patch and let me know if it works for you. Thanks. N
Download diff
application/octet-stream 1.3k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #17085] support for Apache2
Date: Tue, 31 Jan 2006 01:39:46 +0800
To: bug-SVN-Web [...] rt.cpan.org
From: Dongxu Ma <dongxu.ma [...] gmail.com>
Thanks for the patch. Currently I am on vacation. Try it once I come back. On 1/30/06, via RT <bug-SVN-Web@rt.cpan.org> wrote: Show quoted text
>
> > > Is it possible to add Apache version check here, then eval specific > > > OK here?
> > Could you try the attached patch and let me know if it works for you. > Thanks. > > N > > >
-- Cheers, Dongxu
From: dietrich.streifert [...] visionet.de
On So. 29. Jan. 2006, 18:15:36, NIKC wrote: Show quoted text
> > > Is it possible to add Apache version check here, then eval specific > > > OK here?
> > Could you try the attached patch and let me know if it works for you. > Thanks. > > N
Tried the patch against SVN::Web 0.43 and it works for me on Apache/2.0.55 (Unix) DAV/2 SVN/1.2.3 mod_perl/2.0.2 Perl/v5.8.7 Thank you!
Fixed with the change in http://jc.ngo.org.uk/svnweb/jc/revision?rev=775. This will be in 0.44. Thanks for the report.