Re: [PHP4BETA] IISAPI module: do we really need to have a Filter and Extension?
| From: | Thies C. Arntzen | Date: | Mon, 06 Dec 1999 12:28:07 +0000 |
| Subject: | Re: [PHP4BETA] IISAPI module: do we really need to have a Filter and Extension? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7499@lists.php.net to get a copy of this message | ||
hmm,
- i'm bcc'ing this to the zeus guy who gave me this information (hi
nuno!).
i don't know. - i guess we *have* to have both the filter and the
extension in order to have authentication on M$.
the zeus-server will give us this information
(MS_REMOTE_USER,MS_REMOTE_PASSWD), so i guess i'll use
it for the zeus-isapi module and we'll keep it as it is for the M$-IIS.
our zeus-ISAPI module will *not* run in the zeus-server itself but thru
a multy-threaded ISAPI-runner. so we should try to avoid server<->module
calls to the minumum.
tc
On Mon, 6 Dec 1999, Zeev Suraski wrote:
> Thies,
>
> It doesn't seem to work. Who was the Zeus guy that told you that?
> Also, Phil is right. There's no mention of it whatsoever on MSDN.
>
> Zeev
>
> At 12:29 06/12/1999 , Thies C. Arntzen wrote:
> >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.
> >
> >
> >
> >
> >--
> >PHP 4.0 Beta Mailing List
> ><http://www.php.net/version4/>
> >To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> >For additional commands, e-mail: php4beta-help@lists.php.net
> >To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
> --
> Zeev Suraski <zeev@zend.com> http://www.zend.com/
>
>
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