logo

Black Friday
Sale

  •  99.9% 가동시간
  •  무료 SSL 인증서
  •  24/7 라이브 지원
  •  30일 환불 보증
시작하세요

최대

90

%

OFF

45
03
45
23
블랙프라이데이 세일: 저렴한 웹 호스팅
부터 895원 /달!
전체 상품 보기
×

지식저장소

Find articles about information features, troubleshooting guides,
and other technical information related to the hosting service Hostinger.

Why does a password-protected directory ask twice for the password?

Modified on:
htpassword htaccess password protect directory directory password

This is happening because you have a password-protected subfolder on your account. If there is a .htaccess file above the subfolder you are trying to password protect, Apache webserver is confused and asks the password for each .htaccess file it finds in its path. In order to solve this, either move the password protection to your web root folder or remove any rewrite rules/redirections.