RE: [users@httpd] proxypassreverse redirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there a standard way to send credentials at once instead of displaying auth box ?

Fabian

-----Message d'origine-----
De : jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] De la part de Joshua Slive
Envoyé : lundi 13 février 2006 14:51
À : users@xxxxxxxxxxxxxxxx
Objet : Re: [users@httpd] proxypassreverse redirection

On 2/13/06, Frederick, Fabian <Fabian.Frederick@xxxxxxxxxxxxx> wrote:
> This method works but I'd like to avoid access _only_ without authentification :
> http://site returns 401 with www-auth
>
> ... But I'm surprised http://user:password@site works in 2 phases :
>
>         1.Server returns 401 (why?)
>         2.Account is logged; server returns 302
>
> How can I recognize http://site from the second http://user:password@site ? Is it possible from cgi to check complete url ?

The http://user:password@site thing is completely non-standard and doesn't work at all in most browsers, as far as I know.  So how it works in your particular case would depend on the browser's actions, not the servers.  Obviously your browser is not sending the credentials until after it receives a 401, which is the standard way to do things in general, but is a little strange given that the browser knows the credentials.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux