You are here: Foswiki>Tasks Web>Item13748 (16 Oct 2017, GeorgeClark)Edit Attach

Item13748: Suggestion to use Apache httpd "Define" directive in example config files

pencil
Priority: Enhancement
Current State: Confirmed
Released In: 2.2.0
Target Release: minor
Applies To: Engine
Component: Documentation
Branches:
Reported By: DavidTonhofer
Waiting For:
Last Change By: GeorgeClark
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

ItemTemplate edit

Summary Suggestion to use Apache httpd "Define" directive in example config files
ReportedBy DavidTonhofer
Codebase
SVN Range
AppliesTo Engine
Component Documentation
Priority Enhancement
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease minor
ReleasedIn 2.2.0
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r4 - 16 Oct 2017, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy