Re: [Help - me ] br.php.net mirror site deactivated

[email protected] (Alexander Varejão) Wed, 4 Oct 2017 10:57:02 -0300
Newsgroups php.mirrors
Organization Hostnet Internet Ltda / Digirati Telecom SA
Message-ID <[email protected]>
Dear Daniel Brown,

I solved the "gethosname" problem on the server.

Could you verify it ?

Best Regards,


On 02/10/2017 16:06, Alexander Varejão wrote:
> Hy Daniel Brown,
>
> I solved the "gethosname" problem on the server.
>
> Could you verify it ?
>
> Best Regards,
>
>
> On 22/09/2017 10:37, Alexander Varejão wrote:
>> Hy,
>>
>> Thanks for aswer
>>
>> We always worked this way.
>>
>> I'll change this options and return to you.
>>
>> Best Regards,
>>
>>
>> On 20/09/2017 16:50, Daniel Brown wrote:
>>>      Alright, digging deeper, I discovered that it's because you have
>>> gethostname() disabled on your mirror.  Once you enable that, the
>>> mirror should go back into rotation on the next automated check (by
>>> the end of the day).
>>>
>>>
>>> On Wed, Sep 20, 2017 at 1:51 PM, Alexander Varejão
>>> <[email protected]> wrote:
>>>> Hy Daniel Brown,
>>>>
>>>> Thanks for answer
>>>>
>>>> It seems ok to me too...
>>>>
>>>> could you verify it again ?
>>>>
>>>> alexander@alexander:~$ host br1.php.net
>>>> br1.php.net is an alias for phpweb.hostnet.com.br.
>>>>
>>>> phpweb.hostnet.com.br has address 187.73.33.98
>>>> alexander@alexander:~$ HEAD br1.php.net
>>>> 200 OK
>>>> Connection: close
>>>> Date: Wed, 20 Sep 2017 17:47:03 GMT
>>>> Server: Apache
>>>> Content-Language: en
>>>> Content-Type: text/html; charset=utf-8
>>>> Last-Modified: Wed, 20 Sep 2017 16:50:17 GMT
>>>> Client-Date: Wed, 20 Sep 2017 17:47:03 GMT
>>>> Client-Peer: 187.73.33.98:80
>>>> Client-Response-Num: 1
>>>> Link: <http://php.net/index>; rel=shorturl
>>>> Set-Cookie: COUNTRY=NA%2C201.76.188.234; expires=Wed, 27-Sep-2017 
>>>> 17:47:03
>>>> GMT; Max-Age=604800; path=/
>>>> Set-Cookie: LAST_NEWS=1505929623; expires=Thu, 20-Sep-2018 17:47:03 
>>>> GMT;
>>>> Max-Age=31536000; path=/
>>>> X-Frame-Options: SAMEORIGIN
>>>>
>>>>
>>>> alexander@alexander:~$ telnet 187.73.33.98 80
>>>> Trying 187.73.33.98...
>>>> Connected to 187.73.33.98.
>>>> Escape character is '^]'.
>>>> GET / HTTP/1.1
>>>> Host: br1.php.net
>>>>
>>>> HTTP/1.1 200 OK
>>>> Date: Wed, 20 Sep 2017 17:49:12 GMT
>>>> Server: Apache
>>>> Last-Modified: Wed, 20 Sep 2017 16:50:17 GMT
>>>> Content-language: en
>>>> X-Frame-Options: SAMEORIGIN
>>>> Set-Cookie: COUNTRY=NA%2C201.76.188.234; expires=Wed, 27-Sep-2017 
>>>> 17:49:19
>>>> GMT; Max-Age=604800; path=/
>>>> Set-Cookie: LAST_NEWS=1505929759; expires=Thu, 20-Sep-2018 17:49:19 
>>>> GMT;
>>>> Max-Age=31536000; path=/
>>>> Link: <http://php.net/index>; rel=shorturl
>>>> Connection: close
>>>> Transfer-Encoding: chunked
>>>> Content-Type: text/html; charset=utf-8
>>>>
>>>> 2000
>>>> <!DOCTYPE html>
>>>> <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
>>>> <head>
>>>>
>>>>    <meta charset="utf-8">
>>>>    <meta name="viewport" content="width=device-width, 
>>>> initial-scale=1.0">
>>>>
>>>>    <title>PHP: Hypertext Preprocessor</title>
>>>>
>>>>   <link rel="shortcut icon" href="http://br1.php.net/favicon.ico">
>>>>   <link rel="search" type="application/opensearchdescription+xml"
>>>> href="http://php.net/phpnetimprovedsearch.src" title="Add PHP.net 
>>>> search">
>>>>   <link rel="alternate" type="application/atom+xml"
>>>> href="http://br1.php.net/releases/feed.php" title="PHP Release feed">
>>>>   <link rel="alternate" type="application/atom+xml"
>>>> href="http://br1.php.net/feed.atom" title="PHP: Hypertext 
>>>> Preprocessor">
>>>>
>>>>
>>>>
>>>> On 20/09/2017 14:21, Daniel Brown wrote:
>>>>>       What I'm seeing on our side for BR1 is:
>>>>>
>>>>> Failed '/mirror-info|hostname' check: Apache ServerName directive 
>>>>> does
>>>>> not match 'br1.php.net'. Consider swapping ServerName and 
>>>>> ServerAlias,
>>>>> see /mirroring.php.
>>>>>
>>>>> Likely cause:
>>>>> Please make sure your ServerName is configured correctly
>>>>>
>>>>> Test URL: http://phpweb.hostnet.com.br/mirror-info
>>>>> (problem since: Wed, 20 Sep 2017 17:03:36 GMT)
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Sep 20, 2017 at 12:10 PM, alexander 
>>>>> <[email protected]>
>>>>> wrote:
>>>>>> More tests
>>>>>>
>>>>>> alexander@alexander:~$ host br.php.net
>>>>>> br.php.net has address 187.73.33.98
>>>>>> br.php.net has address 177.55.120.24
>>>>>>
>>>>>> alexander@alexander:~$ telnet 187.73.33.98 80
>>>>>> Trying 187.73.33.98...
>>>>>> Connected to 187.73.33.98.
>>>>>> Escape character is '^]'.
>>>>>> GET / HTTP/1.1
>>>>>> Host: br.php.net
>>>>>>
>>>>>> HTTP/1.1 200 OK
>>>>>> Date: Wed, 20 Sep 2017 16:09:58 GMT
>>>>>> Server: Apache
>>>>>> Last-Modified: Wed, 20 Sep 2017 15:30:12 GMT
>>>>>> Content-language: en
>>>>>> X-Frame-Options: SAMEORIGIN
>>>>>> Set-Cookie: COUNTRY=NA%2C201.76.188.234; expires=Wed, 27-Sep-2017
>>>>>> 16:10:05
>>>>>> GMT; Max-Age=604800; path=/
>>>>>> Set-Cookie: LAST_NEWS=1505923805; expires=Thu, 20-Sep-2018 
>>>>>> 16:10:05 GMT;
>>>>>> Max-Age=31536000; path=/
>>>>>> Link: <http://php.net/index>; rel=shorturl
>>>>>> Connection: close
>>>>>> Transfer-Encoding: chunked
>>>>>> Content-Type: text/html; charset=utf-8
>>>>>>
>>>>>> 2000
>>>>>> <!DOCTYPE html>
>>>>>> <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
>>>>>> <head>
>>>>>>
>>>>>>     <meta charset="utf-8">
>>>>>>     <meta name="viewport" content="width=device-width, 
>>>>>> initial-scale=1.0">
>>>>>>
>>>>>>     <title>PHP: Hypertext Preprocessor</title>
>>>>>>
>>>>>>    <link rel="shortcut icon" href="http://br.php.net/favicon.ico">
>>>>>>    <link rel="search" type="application/opensearchdescription+xml"
>>>>>> href="http://php.net/phpnetimprovedsearch.src" title="Add PHP.net
>>>>>> search">
>>>>>>    <link rel="alternate" type="application/atom+xml"
>>>>>> href="http://br.php.net/releases/feed.php" title="PHP Release feed">
>>>>>>    <link rel="alternate" type="application/atom+xml"
>>>>>> href="http://br.php.net/feed.atom" title="PHP: Hypertext 
>>>>>> Preprocessor">
>>>>>>
>>>>>>    <link rel="canonical" href="http://php.net/index.php">
>>>>>>    <link rel="shorturl" href="http://php.net/index">
>>>>>>    <link rel="alternate" href="http://php.net/index" 
>>>>>> hreflang="x-default">
>>>>>>
>>>>>> [...]
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 20/09/2017 13:04, alexander wrote:
>>>>>>> Dears,
>>>>>>>
>>>>>>> The mirrors br.php.net is not listed on http://php.net/mirrors.php
>>>>>>>
>>>>>>> The mirror is updated  ... All seems ok to me ...
>>>>>>>
>>>>>>> We not received emails about problems ...
>>>>>>>
>>>>>>> Please, could you verify it for me ?
>>>>>>>
>>>>>>> My tests seems ok  ...
>>>>>>>
>>>>>>> alexander@alexander:~$ HEAD br.php.net
>>>>>>> 200 OK
>>>>>>> Cache-Control: max-age=86400
>>>>>>> Connection: close
>>>>>>> Date: Wed, 20 Sep 2017 15:57:19 GMT
>>>>>>> Server: Apache/2.4.12 (Unix) OpenSSL/1.0.1e-fips
>>>>>>> Content-Language: en
>>>>>>> Content-Type: text/html; charset=utf-8
>>>>>>> Expires: Thu, 21 Sep 2017 15:57:19 GMT
>>>>>>> Last-Modified: Wed, 20 Sep 2017 15:30:12 GMT
>>>>>>> Client-Date: Wed, 20 Sep 2017 15:57:19 GMT
>>>>>>> Client-Peer: 177.55.120.24:80
>>>>>>> Client-Response-Num: 1
>>>>>>> Link: <http://php.net/index>; rel=shorturl
>>>>>>> Set-Cookie: COUNTRY=NA%2C201.76.188.234; expires=Wed, 27-Sep-2017
>>>>>>> 15:57:19
>>>>>>> GMT; Max-Age=604800; path=/
>>>>>>> Set-Cookie: LAST_NEWS=1505923039; expires=Thu, 20-Sep-2018 
>>>>>>> 15:57:19 GMT;
>>>>>>> Max-Age=31536000; path=/
>>>>>>> X-Frame-Options: SAMEORIGIN
>>>>>>> X-Powered-By: PHP/7.0.3
>>>>>>>
>>>>>>>
>>>>>>> curl -v br.php.net | head
>>>>>>> * Rebuilt URL to: br.php.net/
>>>>>>>     % Total    % Received % Xferd  Average Speed Time    Time Time
>>>>>>> Current
>>>>>>>                                    Dload  Upload Total   Spent Left
>>>>>>> Speed
>>>>>>>     0     0    0     0    0     0      0      0 --:--:-- --:--:--
>>>>>>> --:--:--
>>>>>>> 0*   Trying 187.73.33.98...
>>>>>>> * Connected to br.php.net (187.73.33.98) port 80 (#0)
>>>>>>>> GET / HTTP/1.1
>>>>>>>> Host: br.php.net
>>>>>>>> User-Agent: curl/7.47.0
>>>>>>>> Accept: */*
>>>>>>>>
>>>>>>> < HTTP/1.1 200 OK
>>>>>>> < Date: Wed, 20 Sep 2017 16:02:06 GMT
>>>>>>> < Server: Apache
>>>>>>> < Last-Modified: Wed, 20 Sep 2017 15:30:12 GMT
>>>>>>> < Content-language: en
>>>>>>> < X-Frame-Options: SAMEORIGIN
>>>>>>> < Set-Cookie: COUNTRY=NA%2C201.76.188.234; expires=Wed, 27-Sep-2017
>>>>>>> 16:02:06 GMT; Max-Age=604800; path=/
>>>>>>> < Set-Cookie: LAST_NEWS=1505923326; expires=Thu, 20-Sep-2018 
>>>>>>> 16:02:07
>>>>>>> GMT;
>>>>>>> Max-Age=31536000; path=/
>>>>>>> < Link: <http://php.net/index>; rel=shorturl
>>>>>>> < Connection: close
>>>>>>> < Transfer-Encoding: chunked
>>>>>>> < Content-Type: text/html; charset=utf-8
>>>>>>> <
>>>>>>> { [945 bytes data]
>>>>>>> <!DOCTYPE html>
>>>>>>> <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
>>>>>>> <head>
>>>>>>>
>>>>>>>     <meta charset="utf-8">
>>>>>>>     <meta name="viewport" content="width=device-width,
>>>>>>> initial-scale=1.0">
>>>>>>>
>>>>>>>     <title>PHP: Hypertext Preprocessor</title>
>>>>>>>
>>>>>>> [...]
>>>>>>>
>>>>>>> Thanks !
>>>>>>>
>>>>>>> Best Regards
>>>>>>>
>>>>>>> Alexander S. Varejão
>>>>>>> Administrador de Redes e Sistemas
>>>>>>> Hostnet Internet Ltda
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>> -- 
>>>> Alexander S. Varejão
>>>> Administrador de Redes e Sistemas
>>>> Hostnet Internet Ltda
>>
>

-- 
Alexander S. Varejão
Administrador de Redes e Sistemas
Hostnet Internet Ltda