# Define an access log for VirtualHosts that don't define their own logfile ## CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined # Special header format for (optional) load balancer use that # substitutes X-Forwarded-For contents for unused ident info (%l) # (note that it keeps the HTTP authentication user, which is %u) LogFormat "%v:%p %h (%{X-Forwarded-For}i) %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_lb_combined CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_lb_combined