Skip Menu |
 

This queue is for tickets about the Catalyst-Manual CPAN distribution.

Report information
The Basics
Id: 31164
Status: resolved
Priority: 0/
Queue: Catalyst-Manual

People
Owner: Nobody in particular
Requestors: alexp [...] transitive.com
Cc:
AdminCc:

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

Attachments


Subject: Catalyst::Manual::Cookbook mod_perl configuration incorrect?
Date: Mon, 03 Dec 2007 12:19:32 +0000
To: bug-Catalyst [...] rt.cpan.org
From: Alex Page <alexp [...] transitive.com>
Download (untitled) / with headers
text/plain 578b
Hi, The mod_perl configuration at http://search.cpan.org/dist/Catalyst-Manual/lib/Catalyst/Manual/Cookbook.pod#3._Configure_your_application did not work for me; it seems that PerlSwitches was being ignored. I asked around on #modperl and #london.pm and they suggested that I should use a <Perl> block in my Apache configuration. This worked for me, and I attach a diff for the documentation. Alex -- Alex Page, Release Engineer, Transitive Limited Maybrook House, 40 Blackfriars Street, Manchester M3 2EG, UK Web: http://www.transitive.com/ | Phone: (+44) 161-214-0406
--- catalyst_manual_cookbook.pod.orig 2007-12-03 12:15:11.000000000 +0000 +++ catalyst_manual_cookbook.pod 2007-12-03 12:16:05.000000000 +0000 @@ -1483,8 +1483,10 @@ when run within mod_perl. This makes the configuration extremely easy. Here is a basic Apache 2 configuration. - PerlSwitches -I/var/www/MyApp/lib - PerlModule MyApp + <Perl> + use lib '/var/www/MyApp/lib'; + use MyApp; + </Perl> <Location /> SetHandler modperl
Download (untitled) / with headers
text/plain 194b
Add suggestion to C::Man::Deployment::Apache::mod_perl.pod. See git commit d5eac60. [tutorial_update_1108 d5eac60] Add comment for RT #31164 1 files changed, 14 insertions(+), 0 deletions(-)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.