Forum Moderators: phranque
I have an addon domain at addon.domain.com with the domain xyz.com pointing to the addon domain. Inside xyz.com I have a password protected area.
Everything works properly but.. when I go to xyz.com/protected I get prompted for a password twice. Once of xyz.com and a second for addon.domain.com.
I use this in my htaccess to stop the browser from showing addon.domain.com:
RewriteEngine On
# Redirect all URIs as
# addon.domain.com
# to
# www.xyz.com
RewriteCond %{HTTP_HOST} ^(www\.)?addon.domain.com$ [NC]
RewriteRule ^(.*)$ http://xyz.com/$1 [R=301,L] Which works fine but how can I stop it from repeatedly prompting me to enter a password?