Koozali.org: home of the SME Server

Login twice to and ibay

RobW

Login twice to and ibay
« 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.

Pete

Re: Login twice to and ibay
« Reply #1 on: July 09, 2003, 02:27:53 PM »
Try putting a slash at the end of the URL

RobW

Re: Login twice to and ibay
« Reply #2 on: July 10, 2003, 03:54:23 AM »
Pete, thanks for the suggestion but it still comes up with the two authentications.

Pete

Re: Login twice to and ibay
« Reply #3 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.

RobW

Re: Login twice to and ibay
« Reply #4 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.