• 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.

Item6874: Apache Config Generator - Does not use new Apache 2.4.x Access Controls

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension ApacheConfigGenerator Enhancement Closed   patch 5.1.2

Edit Form Data

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

Detail

From Apache 2.4 the access control configuration directives have changed. If building a new twiki server from scratch using the standard 2.4.x httpd.conf file the twiki.conf generated does not function as it is using the old legacy directives (Which probably clash with the new directives in the httpd.conf)

The old 2.2 version

 Order Allow,Deny
 Allow from all

From 2.4 it is replaced with

 Require all granted

Full details and more are in the apache documentation http://httpd.apache.org/docs/2.4/upgrading.html#page-header

I have manually amended my configuration and it now works.

Additionally to get twiki to work i had to enable mod_cgid - which wasnt enabled by default

Do we need to have a new selector in the page that generates the config file to be able to generate 2.4.x style configuration and an update of the documentation?

-- TWiki:Main/JulianCollins - 2012-05-08

Thanks for the heads up, Julian. Yes, the generator needs to be enhanced with a new selector for Apache version. Any other changes besides the two you pointed out?

-- TWiki:Main.PeterThoeny - 2012-05-10

I updated TWiki:TWiki.ApacheConfigGenerator accordingly.

-- TWiki:Main.PeterThoeny - 2012-05-12

I updated the sample twiki_httpd_conf.txt that ships with TWiki accordingly.

-- TWiki:Main.PeterThoeny - 2012-05-12

After some more investigation , the mod_cgid enabling varies depending on what mpm apache is built with, it may be better to just specify to enable cgi.

With the worker MPM its mod_cgi , with event its mod_cgid

-- TWiki:Main.JulianCollins - 2012-05-16

Thanks Julian for pointing this out. I amended the docs accordingly.

-- TWiki:Main.PeterThoeny - 2012-05-16

ItemTemplate
Summary Apache Config Generator - Does not use new Apache 2.4.x Access Controls
ReportedBy TWiki:Main.JulianCollins
Codebase 5.1.1
SVN Range

AppliesTo Extension
Component ApacheConfigGenerator
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:22915 TWikirev:22916 TWikirev:22938 TWikirev:22939
TargetRelease patch
ReleasedIn 5.1.2
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2013-02-16 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback