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