|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
When logging into my first website I get a single login prompt. When logging in to my second website through the same browser I get a single login prompt. When I go back to the first web site thorugh the same browser I get multiple logins and I can't access my page. The access for both sites is handled thorugh .htaccess files. How can I clean this up so that I get only one login per site on the first visit and I can switch between each subsequently with no more logins.
|
|
#2
|
|||
|
|||
|
If both sites have the same domain, make sure that you use different REALMS.
|
|
#3
|
|||
|
|||
|
Are you using two different .htaccess files and two different domains?
Just make sure you are using the same passwordfile and the same .htaccess file. If it's possible to share these files for two servers, I don't no |
|
#4
|
|||
|
|||
|
htaccess multiple login for two web sites
I'm running this on one domain with two seperate .htaccess files. Each htaccess file contains a unique REALM.
|
|
#5
|
|||
|
|||
|
To share a common .htpasswd using .htaccess, start here -> http://forums.devshed.com/showthrea...0770&forumid=15
If you have write access to httpd.conf, use multiple <Directory> blocks and the same .htpasswd file. |
|
#6
|
|||
|
|||
|
What is REALMS said in words?
|
|
#7
|
|||
|
|||
|
my two realms are :
AuthName Billing AuthName "Administration Pages" |
|
#8
|
|||
|
|||
|
Hmm, if you have seperate realms and seperate password files, I'm not sure why this would happen. Are you sure this isn't a browser issue (i.e. tried a different browser)?
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > htaccess and multiple login prompts |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|