Jim Roepcke's weblog have browser, will travel (est. 1999)

5May/00Off

basic auth with IIS and CGI

Thanks to everyone who helped with yesterday's web server crisis! :)

The solution with IIS was to: 1) turn off basic authentication for the virtual directory (!!), and 2) turn off IIS' "custom error pages".

What was happening was that when the CGI tried to return HTTP 401 (meaning "I need a username and password please"), IIS would instead return a "user-frienly error page" explaining what HTTP 401 meant, instead of actually returning HTTP 401 which would tell the browser to ask the user for authorization credentials.

I ended up finding the solution tucked in a README file for PCGI, which comes with Zope. This procedure also worked on IIS5 on W2K. What a steaming pile of monkey crap.

5May/00Off

Now that’s hockey!

Slam! Hockey: Flyers 2, Penguins 1 (5OT): "Keith Primeau, the man who could never seem to score in the playoffs, ended the third longest game in NHL history early Friday morning by scoring at 12:01 of the fifth overtime to give the exhausted Philadelphia Flyers a memorable 2-1 victory over the Pittsburgh Penguins"

Roepcke Computing Solutions

Jim Roepcke specializes in development and mentoring for iPhone and Mac OS X / Cocoa, WebObjects, and Python.

Contact Jim for more information.

Archive Calendar

May 2000
S M T W T F S
« Apr   Jun »
123456
78910111213
14151617181920
21222324252627
282930  

Blogroll

Saved Searches

Willing to Fail

Jim Roepcke is Willing to Fail

WebObjects book

I co-authored this book

Badges

Proud Member of the Association for Computing Machinery

Listed on BlogShares

Blog Directory - Blogged

Recent tweets

Meta