Pular para o conteúdo principal

Questão de Redes de Computadores — Apache — FCC 2024

Redes de ComputadoresApache
Código
fc147345
Banca
FCC
Órgão
SEAD PI
Ano
2024
Cargo
Ana Gov ( )
Utilizando expressões booleanas, a configuração do servidor Apache que negará o acesso se o cabeçalho HTTP Referer não começar com http://www.seplan.pi.gov.br é
  1. A<If "|{\(HTTP_REFERER} - STMATCH http://seplan.pi.gov.br/*'}">    Require all denied </If>
  2. B</Location "/">     OR % {HTTP_REFERER} "http://www/.seplan/.pi/.gov/.br     allowed fro all </Location>
  3. C<DirectoryMatch !"^/var/www/html"> Require expr "%{HTTP_REFERER} =-#^http://www/.seplan/.pi/.gov.br#" </DirectoryMatch>
  4. D<SetEnvIF Referer "http://www\.seplan\.pi\.gov\.br allow_acess    Deny from all </SetEnvIf>
  5. E< If Require !expr"http://www/.seplan/.pi/.gov/.br#"> Require deny all     </If>
Revelar gabarito e comentário

GabaritoA — <If "|{\(HTTP_REFERER} - STMATCH http://seplan.pi.gov.br/*'}">    Require all denied </If>

Link permanente: /questoes/fc147345