Kunskapsbas

Hitta artiklar om funktioner och felsökningsguider,
och andra tekniska information om Hostingers webbhotelltjänst.

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

Redigerat:
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.

  • Lättanvänt Website Builder
  • 99.9% driftsäkerhet
  • 24/7 Live-support
  • Powerful Control Panel
  • 30 dagars öppet köp
Utnyttja specialerbjudandet!
Från
kr
18
00
/mån
Spara 82%
Kom igång