https://issues.apache.org/bugzilla/show_bug.cgi?id=55654
Bug ID: 55654
Summary: Extract variables from configuration without starting
server
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Runtime Config
Assignee: [email protected]
Reporter: [email protected]
httpd -DDUMP_CONFIG gets you a dump of the configuration, but starts up the
server. It would be handy to be able to extract certain values from the
configuration without starting a server process. For example, it would be
useful to be able to determine the configured value of User and Group before
starting the server.
Context: The Debian/Ubuntu package of httpd has a modified version of
apachectl, specifically so that it can know the value of User ahead of time, in
order that certain runtime directories can be created.
>From IRC:
<daemonkeeper> DrBacchus: Thing is we need a reliable way to know the apache
user/group in the init script to create volatile directories (e.g.
/var/run/apache2) at boot time. There is no sane way to get that information
without starting the server.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]