SóProvas


ID
5270350
Banca
CESPE / CEBRASPE
Órgão
SERPRO
Ano
2021
Provas
Disciplina
Sistemas Operacionais
Assuntos

A respeito de servidores Apache, julgue o item a seguir.


Para configurar uma porta número 8443 que responda a conexões HTTP seguras no endereço IP 192.168.10.10, deve ser informada a configuração a seguir.


Listen 192.168.10.10:8443 https

Alternativas
Comentários
  • Estou enganado ou a resposta deveria ser Errado ?

    Pois o Listen 192.168.10.10:8443 https só altera o https e não o protocolo http.

    The optional second protocol argument of is not required for most configurations. If not specified, is the default for port 443 and the default for all other ports. The protocol is used to determine which module should handle a request, and to apply protocol specific optimizations with the directive.

    You only need to set the protocol if you are running on non-standard ports. For example, running an site on port 8443:

    Fonte: https://httpd.apache.org/docs/2.4/bind.html#page-header

  • Conforme o @Fora Bolsonaro:

    You only need to set the protocol if you are running on non-standard ports. For example, running an https site on port 8443:

    Listen 192.170.2.1:8443 https

    Tal como está na documentação.

    https://httpd.apache.org/docs/2.4/bind.html#page-header