.htaccess & Removing password prompt from new windows
Posted: Thu Dec 07, 2006 9:49 am
I have a directory that is protected with this .htaccess file:
For the files in the directory, I get the password prompt like I should be. My problem is with the changecoverart.php page and opening it in a new window. To access the changecoverart.php page, another page opens it in a new window and posts a form to it. When this happens, I am reprompted for a password. This is the password prompt that I am trying to remove. If I navigate directly to the changecoverart.php page, there is no password prompt.
Can anyone help me to get rid of the password prompt when opening this page in a new window?
Code: Select all
AuthName "Restricted Area"
AuthType Basic
AuthUserFile "/path/to/.htpasswd"
require valid-user
<Files ~ "\changecoverart.php$">
Order Allow,Deny
Allow from all
</Files>Can anyone help me to get rid of the password prompt when opening this page in a new window?