You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jerry Malcolm <te...@malcolms.com> on 2019/08/06 17:28:06 UTC

[users@httpd] httpd.conf "Define" directive?

I have been using a WAMP installation for several years.  I'm migrating 
to Amazon Web Services and moving to an AWS-Linux platform.  I have done 
quite a bit of customization of my httpd.conf over the years.  So I've 
been in the process of merging everything into the AWS httpd.conf file.  
The WAMP httpd.conf uses a "Define" directive to define variables such 
as "installDirectory", and references the variables using EL - 
${installDir}.  Turns out that the AWS apache never heard of "Define".  
My WAMP apache is 2.4.33. Not 100% sure which version AWS gave me.  But 
I'm pretty sure it's 2.4.xx.

I've been unsuccessful googling "httpd.conf define" since 'define' is 
used everywhere in the docs.

Is there some module I can add to get the Define function? Or is that 
just a WAMP idiosyncracy?  I like having the ability to define docRoot 
and other variables in one spot.

Thx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] httpd.conf "Define" directive?

Posted by Jerry Malcolm <te...@malcolms.com>.
Never mind... AWS installed 2.2 by default instead of 2.4....


On 8/6/2019 12:28 PM, Jerry Malcolm wrote:
> I have been using a WAMP installation for several years.  I'm 
> migrating to Amazon Web Services and moving to an AWS-Linux platform.  
> I have done quite a bit of customization of my httpd.conf over the 
> years.  So I've been in the process of merging everything into the AWS 
> httpd.conf file.  The WAMP httpd.conf uses a "Define" directive to 
> define variables such as "installDirectory", and references the 
> variables using EL - ${installDir}.  Turns out that the AWS apache 
> never heard of "Define".  My WAMP apache is 2.4.33. Not 100% sure 
> which version AWS gave me.  But I'm pretty sure it's 2.4.xx.
>
> I've been unsuccessful googling "httpd.conf define" since 'define' is 
> used everywhere in the docs.
>
> Is there some module I can add to get the Define function? Or is that 
> just a WAMP idiosyncracy?  I like having the ability to define docRoot 
> and other variables in one spot.
>
> Thx
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org