지식저장소

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.

  • 쉬운 웹 사이트 빌더
  • 99.9 % 가동 시간 보장
  • 24/7 라이브 지원
  • Powerful Control Panel
  • 30 일 환불 보증
제한된 시간 거래를 잡아라!
부터
1,645
/월
구하다 82%
시작하기