Re: [users@httpd] Dynamic config parameters

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

 



On 4/3/06, Bgs <bgs@xxxxxx> wrote:
>
>   Hm.... no reaction :/
>
>   Does this mean that it's so trivial or that it's not possible? :)
>
> Bgs wrote:
> >
> >  Hi all,
> >
> >
> > I couldn't find info on this subject...
> >
> > I have multiple webservers wich are loadbalanced. They only differ in
> > their IP and a unique virtualhost used for testing.
> > (site.com/www.site.com is common, web01.site.com is unique).
> >
> > Is there a way to create az includable config in which these numbers are
> > dynamic parameters?
> >
> > Like: <VirtualHost %I>
> > Where %I is the IP number (take from where?). Or is it possible to use
> > some environment variable?

It's not possible in general with the default server.

It is possible:
1. Using third-party modules available from http://modules.apache.org/
2. Using a config pre-processor like m4
3. In many specific cases using the default modules, but you'd need to
specify exactly what kinds of configs you need.

Joshua.

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