basic auth prompts in loop
-
I have set up common basic auth (only for development purpose) on wordpress installation by using this “.htaccess”:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # BEGIN AuthType AuthType Basic AuthName "Protected Area" AuthUserFile /homepages/xxxxxx/wordpress/.htpasswd Require valid-user # END AuthType
with a valid “.htpasswd”.
However, when visiting the wordpress site, the browser prompts the basic auth for every link and every file. I am using https and all works however, the browser should prompt for basic auth only once and not every time when user navigates through the site. What is wrong?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘basic auth prompts in loop’ is closed to new replies.