This is a discussion on Same authentication for multiple virtual hosts within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi all, I have multiple virtual hosts (subdomains) defined on my Apache/Linux environment. I have protected several of these ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
I have multiple virtual hosts (subdomains) defined on my Apache/Linux environment. I have protected several of these domains with the same ..htaccess file to protect these sites with username/password. When I login to SUBA.DOMAIN.ORG and then go to SUBB.DOMAIN.ORG I have to login again. I hoped I got authenticated for *.DOMAIN.ORG but that's clearly not the case. Can this be achieved? Regards, Bob Coret |
|
|||
|
"Bob Coret" <b.coret@gmail.com> writes:
> When I login to SUBA.DOMAIN.ORG and then go to SUBB.DOMAIN.ORG I have > to login again. I hoped I got authenticated for *.DOMAIN.ORG but that's > clearly not the case. Can this be achieved? I don't see an obvious way to do it with http basic auth. You could use an authentication cookie with a host parameter instead. |