httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boysenberry Payne <boysenbe...@humaniteque.com>
Subject Re: [users@httpd] Is using vairables in apache config file possible?
Date Thu, 22 Sep 2005 17:55:37 GMT
What about mod_perl, mod_ruby, or mod_phython?
I know at least mod_perl can be used in the configuration
directives.


Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Sep 22, 2005, at 5:42 AM, Krist van Besien wrote:

> 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
>
>
>


---------------------------------------------------------------------
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