Red Hat Bugzilla – Bug 127645
system-config-httpd does not read from existing config
Last modified: 2015-03-04 20:14:10 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Description of problem:
The httpd configuration tool completely ignores my existing httpd.conf.
I made an honest attempt at trying to figure out how it works,
leanring some python..etc...
So as far as I can tell it uses alchemist (which is distributed
without a shred of documentation. I can't even find any on google -
not cool). Alchemist seems to merge rpm.xml and local.xml namespaces
into one and use that to initialize the python tool. rpm.xml contains
all the data, and local.xml contains none.
What's the plan to make system-config-httpd use the existing
httpd.conf? Without such functionality this tool is not very useful to me.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. See Summary.
System-config-httpd newer was designed to use the local httpd.conf
file but uses it's own XML based data storage from with the httpd.conf
file is always generated.
The tool is aimed at new users to httpd which have a hard time
configuring the httpd.conf file on their own.
So i guess this means that unfortunately system-config-httpd will have
little use for you.
Read ya, Phil
So in other words you're saying it wes designed wrong from the start :)
That will have to be fixed, I guess. Maybe I can help next break or
something - I'm trying to rewrite system-config-bind right now.
It shouldn't be all that hard to populate your XML backend in question
by parsing the current file if it exists.
Bind conf file parsing is dead easy in contrast to httpd.conf, belive
me, been there, done that, scratched it.
That was one of the reasons why we decided back then to use a XML
based backend solution as it is very very difficult to parse the
httpd.conf file for all cases correctly.
Read ya, Phil