Archive of UserLand's first discussion group, started October 5, 1998.

Please Help me! (IIS or Apache experts!)

Author:Jim Roepcke
Posted:5/4/2000; 11:43:28 AM
Topic:Please Help me! (IIS or Apache experts!)
Msg #:16941
Prev/Next:16940 / 16942

I need your help! I have to get this working, but I can't figure it out!

I have a CGI program (an EXE file) which runs behind IIS4 (in /scripts/) and Apache (in /cgi-bin/) on NT4. Everything works great except basic authentication!

Both web servers INSIST on doing the authorization itself, but my CGI program needs to be allowed do it's own authorization -- ie: let the CGI program determine if the user/password is correct, and react accordingly.

IIS4 hijacks the username and password sent by the browser and doesn't let the CGI see it, and tries to authenticate it using the NT user database.

Apache insists that if I set AuthType to "basic" for /cgi-bin/ that I specify AuthUserFile and/or AuthGroupFile as well, meaning that Apache will do the user/password check against some password files.

If you know how to disable this interference by either web server, I'd be so so grateful if you could share that information with me!

Thanks!

Jim


There are responses to this message:


This page was archived on 6/13/2001; 4:55:04 PM.

© Copyright 1998-2001 UserLand Software, Inc.