> Guys i have following problem, i have 20 sites that are protected by
> htaccess, they use same .htpasswd file, for example when users enters
> site from members.site1.com and then clicks link on members.site1.com
> that points to members.site2.com it asks for password again, is there
> way avoid this multiple time auth prompt?
Authentication seems to be by two parts - e.g.
Enter username and password for "restricted_access" at "www.example.org"
If either are different then the browser tends to assume (usually
safely!) that it's a different set of usernames/passwords. I'd be
worried if it didn't, since this could be used to give my username and
password for one site to another site.
I don't think it's possible using .htaccess, no.
You might be able to do something complicated with mod_rewrite and
mod_proxy in Apache, so a link to:
members.site1.com/page goes to www.sites.com/site1/members/page
members.site2.com/page goes to www.sites.com/site2/members/page and so on.
Then, to the browser, all of the sites will appear to be at
www.sites.com, and it should give the same password information for
each. Read the docs - they have some reasonably good examples of this
sort of thing, though less complex.
--
Chris