.htaccess Password Protection

I've noticed that when I have a directory password protected, I'm required to enter the username and password twice. Once when I access a page using https and another when I access a page using http.

Is there a way to create an htaccess file that doesn't require you to enter the username and password for both http and https pages within the same directory?

 

 

 

 

Top