X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapache.c;h=a333bf2b50a7db6a6ab39d1e2eaa962ca1902f17;hb=7fe44188701a53ab370ada0f33d93c692d0a91cb;hp=371e1d4b3439824a17a07d416a0080fb740c531f;hpb=139dd00301131050db32bf0cb08333aa7440c817;p=collectd.git diff --git a/src/apache.c b/src/apache.c index 371e1d4b..a333bf2b 100644 --- a/src/apache.c +++ b/src/apache.c @@ -458,6 +458,7 @@ static int init_host (apache_t *st) /* {{{ */ } curl_easy_setopt (st->curl, CURLOPT_URL, st->url); + curl_easy_setopt (st->curl, CURLOPT_FOLLOWLOCATION, 1); if (st->verify_peer != 0) {