On 2011-07-11 15:52, Eric Covener wrote:
On Mon, Jul 11, 2011 at 8:02 AM, Josu Lazkano <josu.lazkano@xxxxxxxxxxxxxxxxxx> wrote:Hello list, I want to configure a lo system and I need to get the vhost name on the log files to separate them.See about adding %v and %V http://httpd.apache.org/docs/current/mod/mod_log_config.html#formats to your LogFormat.
Personally, I use %{HTTP_HOST}e or just %{Host}i in addition to %v/%V. This tells me what they tried to connect to, as well. -- J. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx