Re: .htaccess - Still asking for login information although already sent through address bar
| From: | PHP Webmaster | Date: | Mon, 06 Oct 2003 16:32:23 +0000 |
| Subject: | Re: .htaccess - Still asking for login information although already sent through address bar | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165198@lists.php.net to get a copy of this message | ||
"Nathan Taylor" <Lakario@msn.com> wrote in message
news:BAY3-DAV50nQAYeeest00005a40@hotmail.com...
Does it continuously ask or just twice? I've found a weird issue with
.htaccess where if the domain name is a mask for a subdomain host and you
try to access an .htaccess protected page it will prompt you for the
password, redirect you to the subdomain and then prompt you again.
Nathan
----- Original Message -----
From: Mika Tuupola
To: PHP Webmaster
Cc: php-general@lists.php.net
Sent: Monday, October 06, 2003 7:12 AM
Subject: Re: [PHP] .htaccess - Still asking for login information although
already sent through address bar
On Mon, 6 Oct 2003, PHP Webmaster wrote:
> Iv'e got a .htaccess file protecting a site using HTTPS. I have tried
using
> a form to send the login details to the site through the address bar
> (http://user:pass@www.domain.com) but the .htaccess password protection
box
That does not look like https. Try changing to
https://user:pass@www.domain.com/
--
Mika Tuupola http://www.appelsiini.net/~tuupola/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If I use my login form, the login box pops up only once. If I copy the text
from the address bar (generated by the form) and paste it into the address
bar (after restarting the browser) the logon box does not appear.
Weird eh?