• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3910: add apache IfDefine and IfModules to twiki example apache config for mod_perl

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Documentation Normal No Action Required   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

I've been working on the debian package, and did the following - I think TWiki should ship with similar bits..

   <IfModule mod_perl.c>
        <IfDefine APACHE2>
            #mod_perl - apache 2
            # This matches all lower-case file names, except
            # those starting with "configure"
            <FilesMatch "^(?!configure)[a-z.]+$">
                    SetHandler perl-script
                    PerlResponseHandler ModPerl::Registry
                    PerlSendHeader On
                    PerlOptions +ParseHeaders
            </FilesMatch>
        </IfDefine>
        <IfDefine !APACHE2>
            #assume this is apache1.3.x
            # This matches all lower-case file names, except
            # those starting with "configure"
            <FilesMatch "^(?!configure)[a-z.]+$">
                SetHandler perl-script
                PerlHandler Apache::Registry
            </FilesMatch>            
        </IfDefine>

I'm looking into it... if it all works, i'll toss it into the patch too -- TWiki:Main/SvenDowideit - 15 Apr 2007

I would not enable mod_perl by default. There are still many problems with it and especially when you install extra plugins.

-- TWiki:Main.KennethLavrsen - 15 Apr 2007

after working on this a little more, i agree, there are too many corner cases that cause odd or fatal failures.

Sven

ItemTemplate
Summary add apache IfDefine and IfModules to twiki example apache config for mod_perl
ReportedBy TWiki:Main.SvenDowideit
Codebase 4.1.2, ~twiki4
SVN Range TWiki-4.1.2, Sun, 15 Apr 2007, build 13419
AppliesTo Engine
Component Documentation
Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2007-05-31 - TWikiUserMapping_SvenDowideit
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback