Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: me [...] thomasnagel.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.46
Fixed in: (no value)



Subject: Make mod_perl2 work
SVN::Web does not seem to work with mod_perl2: (1) mod_perl2 detection is broken since require mod_perl failes on mod_perl 2 inside the eval block (the module is called mod_perl2 now) see http://perl.apache.org/docs/2.0/user/porting/compat.html#mod_perl_1_0_and_2_0_Constants_Coexistence (2) mod_perl2 has no send_http_headers method I also added a note on the requirement of Apache2?::Request inside SVN::Web Pod.
Subject: mod_perl2.diff
25,27d24 < use constant MP2 => ( exists $ENV{MOD_PERL_API_VERSION} and < $ENV{MOD_PERL_API_VERSION} >= 2 ); < 512,516c509,510 < You can use mod_perl or mod_perl2 with SVN::Web. You need to have installed < Apache::Request (for mod_perl) or Apache2::Request (for mod_perl2) to make < this working. < < The following Apache configuration is suitable. --- > You can use mod_perl or mod_perl2 with SVN::Web. The following Apache > configuration is suitable. 740c734 < $cfg->{request}->send_http_header() unless MP2; --- > $cfg->{request}->send_http_header(); 757c751 < $cfg->{request}->send_http_header() unless MP2; --- > $cfg->{request}->send_http_header(); 916c910,911 < if (MP2){ --- > require mod_perl; > if($mod_perl::VERSION >= 1.99) {
Thanks. This is now fixed, and will be in 0.47.