Re: [users@httpd] Is using vairables in apache config file possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx> 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@xxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux