Folks,

I am running Apache/2.4.62 (FreeBSD) and trying to understand how ErrorLog on a 
per virtual host basis works. [1] says:
> When a request is received, the server first maps it to the best matching 
> <VirtualHost> based on the local IP address and port combination only. 
> Non-wildcards have a higher precedence. If no match based on IP and port 
> occurs at all, the "main" server configuration is used.

I have two virtual hosts exactly on the same IP and port combination and even 
when a request arrives for vhost B, the error log of vhost A will contain the 
connection information, etc.

My question: There is no way to have that kind of information in the proper 
error log file and that is by design? It just appears that requests arrive in 
the "wrong" vhost although access logs tell otherwise.

Regards,

Michael

[1] https://httpd.apache.org/docs/2.4/en/mod/core.html#virtualhost

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to