mod_log_config

I've been looking over the documentation:
http://httpd.apache.org/docs/mod/mod_log_config.html

What I want to do is to log the HTTP_HOST value in the log file. This is because I am web serving under several domain names (name based hosting) - but I am not using virtual servers. Yet I still want to know which requests have come in under which domain name.

Am I right in thinking that if I set:

UseCanonicalName off

and then specify %V in the log format directive, that this will give me what I am after (the host according to the client's request)?

I will play with this myself - but if someone already knows the answer... mod_log_config

 

 

 

 

Top