faqts : Computers : Programming : Languages : Perl : DBI

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 6 people (83%) answered Yes
Recently 2 of 3 people (67%) answered Yes

Entry

Is there anyway of using AuthDBI with a load balance mechanism?

Mar 3rd, 2000 00:18
Nathan Wallace, Thomas Eibner


If you were using round robin DNS to have multiple servers, they would
have the same hostname but multiple ip-addresses like this:

www.apache.com. IN A 172.16.0.1 
www.apache.com. IN A 172.16.0.2
www.apache.com. IN A 172.16.0.3

If you were using it this way you would probably not have any problems
with Apache::AuthDBI, 'cause the servername would always be
www.apache.com and that's what the browser would see each time and the
user would not have to reauthenticate (If you're using basic auth.).