Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old March 9th, 2001, 11:23 AM
slevert slevert is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 3 slevert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old March 9th, 2001, 12:27 PM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 13
Send a message via AIM to rod k
If both sites have the same domain, make sure that you use different REALMS.

Reply With Quote
  #3  
Old March 9th, 2001, 02:03 PM
oskar oskar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Copenhagen, DK
Posts: 222 oskar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 50 m 40 sec
Reputation Power: 8
Send a message via ICQ to oskar
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

Reply With Quote
  #4  
Old March 9th, 2001, 02:37 PM
slevert slevert is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 3 slevert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #5  
Old March 9th, 2001, 03:01 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #6  
Old March 9th, 2001, 03:09 PM
oskar oskar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Copenhagen, DK
Posts: 222 oskar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 50 m 40 sec
Reputation Power: 8
Send a message via ICQ to oskar
What is REALMS said in words?

Reply With Quote
  #7  
Old March 9th, 2001, 03:26 PM
slevert slevert is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 3 slevert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
my two realms are :
AuthName Billing
AuthName "Administration Pages"

Reply With Quote
  #8  
Old March 9th, 2001, 05:27 PM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 13
Send a message via AIM to rod k
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)?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > htaccess and multiple login prompts


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway