Item13748: Suggestion to use Apache httpd "Define" directive in example config files
Priority: Enhancement
Current State: Confirmed
Released In: 2.2.0
Target Release: minor
Applies To: Engine
Component: Documentation
Branches:
The provided "foswiki_httpd_conf.txt" uses the string "/var/www/foswiki" throughout,
Suggestion to just call
Define foswikiroot "/var/www/foswiki"
in the first line, then use "${foswikiroot}" throughout the file for clarity.
--
DavidTonhofer - 24 Sep 2015
From what I can find,
mod_define
is not compiled into Apache 2.0 or 2.2 by default but can be added at build time. It appears to be standard in Apache 2.4. Although this would be a nice idea, we need the example files to support multiple Apache versions.
--
Main.GeorgeClark - 24 Sep 2015 - 18:38
By now, Apache 2.4 is widely used. Since the file would have to be edited anyway, switching to a define seems reasonable. Planning this for Foswiki 2.2.
--
Main.GeorgeClark - 16 Oct 2017 - 15:09