On Fri, Feb 2, 2018 at 4:28 PM, Stefan Eissing
<[email protected]> wrote:
>
>> Am 02.02.2018 um 15:50 schrieb Yann Ylavic <[email protected]>:
>>
>>> Is it a hash across the config record of a server what would give
>>> the desired behaviour?
>>
>> Yes, a hash using the minimal (IP[:port])* + ServerName, which is what
>> matters to select a vhost in the first place (maybe it's missing
>> ServerAlias), and what's done in this patch.
>> Should two vhosts have the same hash, only the first one will ever
>> handle requests.
>
> So, for my understanding, what we are looking for it:
>
> const char * ap_get_server_id(server_rec *s);
Yes, mainly, which:
{
return r->server_id;
}
:)
>
> that gives a string usable as a file name which does not change
> unless the given server has "changed"? And the distinction of
> what exactly is the "change", we probably can argue millenia
> about?
Precisely, the admin knows..
That doesn't prevent us from having a beer and talk about when he/she
doesn't care and simply wants it to work ;)