Jim Jagielski wrote:
Paul Querna wrote:

I just was looking at the ap_get_server_name() function, and I didn't like how it behaves when UseConicalName is 'on'. It currently will return 'r->server->server_hostname'. This makes it hard for a dynamic vhosting module to set it per-request. If we copied the r->server->server_hostname into r->hostname when the request was created, then modules could easily override r->hostname.




But that kind of defeats the whole concept of UCN On,
doesn't it? Or at least "blurs" the meaning...

Perhaps just move the UCN on check to when we create the request_rec...

Then anyone could change it later, if they thought they knew better.

Reply via email to