Web Servers on Unix and Linux - Same authentication for multiple virtual hosts

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > December 2004 > Same authentication for multiple virtual hosts





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Same authentication for multiple virtual hosts
Bob Coret

2004-12-28, 5:49 pm

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

Paul Rubin

2004-12-28, 5:49 pm

"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.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com