httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] Is using vairables in apache config file possible?
Date Thu, 22 Sep 2005 10:42:17 GMT
On 9/22/05, Davide Bianchi <davide@onlyforfun.net> wrote:
> Krist van Besien wrote:
> > Is this actually possible?
>
> No and yes.
>
> While apache's configuration file doesn't handle variables,
> nothing stops you to have the 'variables' defined in there
> and then use a simple C preprocessor (for example) or a simple
> search-and-replace command (like sed) to parse the file
> before calling apache itself to read it.

Replacing tags with values with a script is how I do it right now. And
it is this is what I want to get rid of...

It is a pity variable substitution is not possible...


Krist
--
krist.vanbesien@gmail.com
Solothurn, Switzerland

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message