<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CSWS 2.1-1 dynamic config file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041310#M12940</link>
    <description>$ hpptd -D yournodeparam&lt;BR /&gt;&lt;BR /&gt;and over in the conf files...&lt;BR /&gt;&lt;BR /&gt;&lt;IFDEFINE yournodeparam=""&gt;&lt;BR /&gt;&lt;/IFDEFINE&gt;</description>
    <pubDate>Sat, 21 Jul 2007 22:44:21 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2007-07-21T22:44:21Z</dc:date>
    <item>
      <title>CSWS 2.1-1 dynamic config file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041305#M12935</link>
      <description>After some hours of reading in the internet with no result, here is my question:&lt;BR /&gt;&lt;BR /&gt;I want to have a common httpd.conf in a cluster environment with conditional parts depending a predefined variables or the system name or ...&lt;BR /&gt;&lt;BR /&gt;Dieter</description>
      <pubDate>Sat, 21 Jul 2007 00:59:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041305#M12935</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2007-07-21T00:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS 2.1-1 dynamic config file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041306#M12936</link>
      <description>Dieter,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;I want to have a common httpd.conf in a cluster environment with conditional parts depending a predefined variables or the system name or ...&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;It may or may not be useful to you, but the standard VMS way to such effect would be to make a SPECIFIC &lt;WHATEVER-YOU-WANT-NODE-DEPENDANT&gt;&lt;BR /&gt;&lt;BR /&gt;I am not aware of CSWS CONF  include-file facilities, but if such exists, then use a common main file with some specific includes.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;/WHATEVER-YOU-WANT-NODE-DEPENDANT&gt;</description>
      <pubDate>Sat, 21 Jul 2007 05:14:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041306#M12936</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-07-21T05:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS 2.1-1 dynamic config file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041307#M12937</link>
      <description>&amp;gt; I am not aware of CSWS CONF include-file facilities, but if such exists, then use a common main file with some specific includes.&lt;BR /&gt;&lt;BR /&gt;CONF include facilities exist and I use them. I have a common httpd.conf and includes in the specific area. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Jul 2007 05:54:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041307#M12937</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2007-07-21T05:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS 2.1-1 dynamic config file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041308#M12938</link>
      <description>Haven't tried this: Set up the include as you normally would, but set up a logical name redirect the file or th directory before Apache is started.&lt;BR /&gt;&lt;BR /&gt;The command apachectl configtest will tell you where it's looking for the configuration file...&lt;BR /&gt;&lt;BR /&gt;Include conf/mumble.conf&lt;BR /&gt;&lt;BR /&gt;I'd expect to need to experiment with this stuff to see just what gets translated.  This might end up needing to add another translation to APACHE$COMMON to aim at the local directory.&lt;BR /&gt;&lt;BR /&gt;Not sure how much of this would be considered supported by HP.&lt;BR /&gt;&lt;BR /&gt;One approach that almost certainly would be supported is the -D parameter directive on the SWS server startup command, and an IfDefine block in the configuration file.  Set the parameter in using a DCL lexical and DCL if-else-endif logic and such, and off you go...&lt;BR /&gt;&lt;BR /&gt;There's also the virtual host stuff, which is  what I use...</description>
      <pubDate>Sat, 21 Jul 2007 14:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041308#M12938</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-07-21T14:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS 2.1-1 dynamic config file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041309#M12939</link>
      <description>und I use virtual hosts, of course.&lt;BR /&gt;&lt;BR /&gt;Actually, I server about 20 websites with csws using common- and specific config files, using java, php, mysql, oracle, rdb ...&lt;BR /&gt;&lt;BR /&gt;I have the httpd.conf in the specific path (needs a little modification in the apache startup and shutdown procedures) and the production includes in the common part. The production includes are in the common part, and for every include i want to modify, O have an additional one in the local specific path, overwriting the common on for that node, e.g.  switching of support for a website or proxy serving with empty config files. But that's a lot of renaming, creating and deleting files, when I change configurations. I'm looking for a simpler way, easer to maintain, easier to document.&lt;BR /&gt;&lt;BR /&gt;Someting like having an include file with variables, and use these variables to switch on or of special features with som if constructs in the config files.&lt;BR /&gt;&lt;BR /&gt;like this &lt;BR /&gt;&lt;BR /&gt;setup_file:&lt;BR /&gt;$ on = 1&lt;BR /&gt;$ off = 0&lt;BR /&gt;$ website_a == on&lt;BR /&gt;$ website_b == off&lt;BR /&gt;$ proxy == on&lt;BR /&gt;&lt;BR /&gt;config file&lt;BR /&gt;&lt;BR /&gt; include setup_File&lt;BR /&gt;&lt;BR /&gt; &lt;IFTRUE&gt; website_a&lt;BR /&gt;&lt;BR /&gt;NameVirtualHost 12.34.56.80:80&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;/IFTRUE&gt;&lt;BR /&gt;&lt;BR /&gt;Dieter</description>
      <pubDate>Sat, 21 Jul 2007 22:39:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041309#M12939</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2007-07-21T22:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS 2.1-1 dynamic config file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041310#M12940</link>
      <description>$ hpptd -D yournodeparam&lt;BR /&gt;&lt;BR /&gt;and over in the conf files...&lt;BR /&gt;&lt;BR /&gt;&lt;IFDEFINE yournodeparam=""&gt;&lt;BR /&gt;&lt;/IFDEFINE&gt;</description>
      <pubDate>Sat, 21 Jul 2007 22:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041310#M12940</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-07-21T22:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS 2.1-1 dynamic config file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041311#M12941</link>
      <description>Works, thanks&lt;BR /&gt;&lt;BR /&gt;Dieter</description>
      <pubDate>Wed, 25 Jul 2007 12:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-2-1-1-dynamic-config-file/m-p/4041311#M12941</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2007-07-25T12:18:26Z</dc:date>
    </item>
  </channel>
</rss>

