Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: RobW on July 09, 2003, 10:43:32 AM

Title: Login twice to and ibay
Post by: RobW on July 09, 2003, 10:43:32 AM
We have setup an ibay for our local intranet to be accessed from the local network without a PW and from the Internet with a PW. We have developed the intranet site using Movable Type (for easy update) and a MYSQL DB for our phone list. Neither Movable Type nor the DB require passwords to read so the security is resting with the Mitel server.

Security on the ibay is set to write=group and read=everybody. Group=admin. Public access = password required outside local network. Execution of dynamic content... = yes (for Movable Type).

Now the interesting bit... On the local network we browse to the site (http://domainname/ibayname) and get straight in with all functionality. However, from the internet, we do the same but get asked for the username (ibayname) and password not once, as would be expected, but twice. After supplying the same credentials twice, all functionality is there.

Any ideas? This is not critical (obviously) but a little annoying.
Title: Re: Login twice to and ibay
Post by: Pete on July 09, 2003, 02:27:53 PM
Try putting a slash at the end of the URL
Title: Re: Login twice to and ibay
Post by: RobW on July 10, 2003, 03:54:23 AM
Pete, thanks for the suggestion but it still comes up with the two authentications.
Title: Re: Login twice to and ibay
Post by: Pete on July 11, 2003, 01:35:29 AM
Rob,

This normally happens when the server tries to access a file using a different hostname to the one used in the initial request.

For instance, I have installed phpMyAdmin on my server but I used the ip address rather than the name in the config file. When I access the page by server name I get asked for a password once for the page I have entered (with name) then again for the graphic which is refered to by ip.

Does the message refer to the same URL in each auth request?

Hope this helps.

Pete.
Title: Re: Login twice to and ibay
Post by: RobW on July 11, 2003, 05:26:59 AM
Pete, amazing what happens when you actually LOOK at the login prompt! The site has a couple of DNS aliases and I was browsing to mail.domainname.com/intranet and the PHP stuff all refers to intranet.domainname.com. Once I changed my link to point straight to intranet.domainname.com/intranet, the problem just went away! Thanks heaps for your help.