Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

use same authentication info between 2 apache

Share authentication info between 2 apache

10:21 am on Jun 9, 2013 (gmt 0)

New User

joined:June 9, 2013
posts: 1
votes: 0

I'm using 2 Apache with two separate ports in same machine. It means Apache 1.3 with 8001 and Apache 2.2 with 8002 Port. I used SSL (self-signed) too. I used same user name and password for both. Now I can go from [] to [] easily. But it ask me username and password again. When you open [] it asked username and password, and when you click on a link and go to [] it asked username and password again. I want to ask one time authentication info not two times.
11:02 am on June 9, 2013 (gmt 0)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 8

welcome to WebmasterWorld, q12345!

are you talking about HTTP Basic Authentication?

http://www.ietf.org/rfc/rfc2617.txt [ietf.org]:
The realm value (case-sensitive), in combination with the canonical root URL (the absoluteURI for the server whose abs_path is empty; see section 5.1.2 of [2]) of the server being accessed, defines the protection space.

this means your 2 servers are separate authentication realms since the root urls include the port number and are therefore different.