Welcome to WebmasterWorld Guest from 54.145.104.199

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)



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 [192.168.1.1:8001...] to [192.168.1.1:8002...] easily. But it ask me username and password again. When you open [192.168.1.1:8001...] it asked username and password, and when you click on a link and go to [192.168.1.1:8002...] it asked username and password again. I want to ask one time authentication info not two times.
11:02 am on Jun 9, 2013 (gmt 0)

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



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month