[thelist] send HTTP authentication from PHP page?
Ken Schaefer
ken.schaefer at gmail.com
Mon Oct 11 20:38:38 CDT 2004
He is not trying to use PHP as a reverse proxy. So that doesn't help...
In addition, reverse proxying Exchange OWA would be a non-trivial exercise.
Cheers
Ken
On Mon, 11 Oct 2004 11:32:20 -0700, Michal Migurski <mike at teczno.com> wrote:
> > Hi all, does anyone know if is possible for a PHP page to send the
> > correct headers to login to another page that requires HTTP
> > authentication? I am trying to connect our intranet site automatically
> > to our webmail Exchange server, which requires HTTP authentication.
> > Thanks!
>
> See "2. Basic Authentication Scheme" at
> http://www.faqs.org/rfcs/rfc2617.html
>
> In your request headers, send the following:
> Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
>
> ...where that gobbbledygook at the end is "username:password" in base64.
More information about the thelist
mailing list