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

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

 



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.

It's just a matter of changing the script(s) that start/stop
apache to call the 'preprocessor' before doing his job.

Davide

-- 
Can i dial 1-255-255-255255 and make every phone in the world ring?
-- Tanuki

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