I have an Apache 2.2 VirtualHost with a *.example.com ServerName
. This is required for my scenario, all subdomains are handled with the same site.
Now, in the access log, I am trying to figure out a LogFormat
variable (or way) that will let me log the asked for domain name. If I use the vhost_combined
format, all I get in my access log is *.example.com entries, not the actual vhost that was asked for.
Anyone know how to do this?