2
0
Fork 0

[mod_accesslog] Fix %v (server name) placeholder

personal/stbuehler/wip
Thomas Porzelt 2009-09-09 20:44:06 +02:00
parent 959733cf82
commit 4698bb9359
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ static GString *al_format_log(liConnection *con, al_data *ald, GArray *format) {
g_string_append_len(str, GSTR_LEN(req->uri.path));
break;
case AL_FORMAT_SERVER_NAME:
if (CORE_OPTION(LI_CORE_OPTION_LOG).string)
if (CORE_OPTION(LI_CORE_OPTION_SERVER_NAME).string)
g_string_append_len(str, GSTR_LEN(req->uri.host));
else
g_string_append_len(str, GSTR_LEN(CORE_OPTION(LI_CORE_OPTION_SERVER_NAME).string));