IISAPI module: do we really need to have a Filter and Extension?
| From: | Thies C. Arntzen | Date: | Mon, 06 Dec 1999 10:29:28 +0000 |
| Subject: | IISAPI module: do we really need to have a Filter and Extension? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7493@lists.php.net to get a copy of this message | ||
hi,
i don't have Win32 installed so i cannot verify this
while working on the ISAPI for the zeus web-server one of the zeus-guys
pointed out something that would/could make life easier.
you can get the authentication information from the HttpExtensionProc() as
well. right now we have to have a HttpFilterProc() just to get the USER/PW
from the headers of the request but if Nuno is right we might be able to
get the same stuff via GetServerVariable(..,"MS_REMOTE_USER",..) and
GetServerVariable(..,"MS_REMOTE_PASSWD",..).
if that is true there would be a bunch of advantages:
- the filter is called for every request - even non php ones! (would be no
longer needed)
- we get called twice from the same thread (no longer needed)
- we would have only one real entry point (HttpExtensionProc())
regards,
tc
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany
---------- Forwarded message ----------
Date: Mon, 06 Dec 1999 08:44:38 +0000
From: Nuno Leitao
Subject: Re: ISAPI + PHP. [New Binary]
Hi Thies,
"Thies C. Arntzen" wrote:
> still busy with tons of other stuff, but this mail of yours just
> "swapped" itself back in and caused a SIGNOTICE;-)
:))
> do you have any reference (docs) for the MS_REMOTE_USER/MS_REMOTE_PASSWD
> stuff you ae referrring to in this mail? i searched microsoft.com and
> could not find it...
They are server variables that get set to the user/password that someone
authenticates with when doing basic authentication.
If you look at the ISAPI reference shiped with Zeus you can read about
them and the GetServerVariable() filter/extension function.