<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1042610" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1042610</link>
    <description></description>
    <language>en</language>
          <item>
    <title>No, IMO SetEnv won&#039;t do. All</title>
    <link>https://www.webmaster-forums.net/web-hosting-and-domain-names/how-define-custom-variable-httpdconf-apache-http-server#comment-1258732</link>
    <description> &lt;p&gt;No, IMO SetEnv won&#039;t do. All SetEnv does is define an environment variable for export into child processes. But that variable you&#039;ve defined is not available to the httpd.conf script in which it was created. Only those environment variables passed at the birth of that process are available.&lt;br /&gt;
- So unfortunately you need to already have that env-var defined when httpd fork-execs, if you want to use it in httpd.conf&lt;/p&gt;
&lt;p&gt;- So, one again, the q is:&lt;br /&gt;
- how do you define a variable in your httpd.conf script that you can use further down in the same httpd.conf script?&lt;/p&gt;
 </description>
     <pubDate>Mon, 13 Dec 2010 10:14:27 +0000</pubDate>
 <dc:creator>jonathb</dc:creator>
 <guid isPermaLink="false">comment 1258732 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Try this:
SetEnv</title>
    <link>https://www.webmaster-forums.net/web-hosting-and-domain-names/how-define-custom-variable-httpdconf-apache-http-server#comment-1236552</link>
    <description> &lt;p&gt;Try this:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;SetEnv ContentServer &quot;www.example.com&quot;&lt;/p&gt;&lt;/blockquote&gt;
 </description>
     <pubDate>Mon, 29 Dec 2008 14:14:02 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1236552 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
