<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>I agree that httpd-xs.conf belongs in conf.d. I also think it should
not have any default configurations in it.</DIV>
<DIV> </DIV>
<DIV>So I propose the following:</DIV>
<DIV> </DIV>
<DIV>1) Remove all stock configurations from httpd-xs.conf.j2</DIV>
<DIV> </DIV>
<DIV>2) Remove support for 2.2</DIV>
<DIV> </DIV>
<DIV>3) Modify httpd’s main.yml to put httpd-xs.conf.j2 in
/etc/httpd/conf.d</DIV>
<DIV> </DIV>
<DIV>I’m not sure what to do with Listen. stock 2.4 has Listen 80 and
httpd-xs.conf has Listen 0.0.0.0:80, which I take to be functionally
equivalent. I’m not sure that we should be listening on the wan interface,
but I guess iptables blocks it anyway.</DIV>
<DIV> </DIV>
<DIV>Can I eliminate Listen 0.0.0.0:80?</DIV>
<DIV> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">Tim</DIV>
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=georgejhunt@gmail.com
href="mailto:georgejhunt@gmail.com">George Hunt</A> </DIV>
<DIV><B>Sent:</B> Monday, November 25, 2013 8:31 PM</DIV>
<DIV><B>To:</B> <A title=xsce-devel@googlegroups.com
href="mailto:xsce-devel@googlegroups.com">xsce-devel</A> </DIV>
<DIV><B>Cc:</B> <A title=server-devel@lists.laptop.org
href="mailto:server-devel@lists.laptop.org">XS Devel</A> </DIV>
<DIV><B>Subject:</B> Re: [XSCE] xsce httpd.conf</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV dir=ltr>
<DIV>Tim -- regarding httpd-xs.conf</DIV>
<DIV> </DIV>My memory is that the issue httpd-xs.conf was really trying to
address was to set the memory limits, based upon the mount of total memory
available -- getting squid, ejabberd, httpd, to share the available memory in an
equitable fashion. This seems more like a conf.d type of issue. And I also
remember how the roll over from httpd 2.2 to 2.4 caused us upgrade pain that was
really self inflicted. I don't think it's a good strategy to take over the base
conf file.</DIV>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>On Mon, Nov 25, 2013 at 3:01 PM, Tim Moody <SPAN
dir=ltr><<A href="mailto:tim@timmoody.com"
target=_blank>tim@timmoody.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'">
<DIV>PREAMBLE</DIV>
<DIV> </DIV>
<DIV>xsce has an httpd-xs.conf file in /etc/httpd/conf, which is a customized
version of httpd.conf. It gets used because /etc/sysconfig/httpd has a
clause OPTIONS= -f conf/httpd-xs.conf.</DIV>
<DIV> </DIV>
<DIV>Except that in the ansible install /etc/sysconfig/httpd doesn’t get
set.</DIV>
<DIV> </DIV>
<DIV>httpd-xs.conf is definitely needed, because it has a lot of settings not
in the stock httpd.conf. But because it replaces httpd.conf it also has
lots of stock settings that are not unique to xsce.</DIV>
<DIV> </DIV>
<DIV>NOW THEREFORE</DIV>
<DIV> </DIV>
<DIV>We either need to modify ansible to set /etc/sysconfig/httpd or we need
to put httpd-xs.conf into /etc/httpd/conf.d and have in contain only the
settings we care about for xsce. In the first approach we have basically
taken ownership of all settings for httpd. In the latter we have only
taken ownership of the settings that are different in xsce, but we could get
problems where settings accumulate rather than override (such as
listen).</DIV>
<DIV> </DIV>
<DIV>So what’s the answer?</DIV>
<DIV> </DIV>
<DIV>btw while we are at it we should clean up the httpd-xs, xs-httpd,
xs.conf, etc. proliferation of conf files.</DIV><SPAN class=HOEnZb><FONT
color=#888888>
<DIV> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'">Tim</DIV></FONT></SPAN></DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV></BODY></HTML>