"Bill Stephenson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Aug 17, 2005, at 11:03 AM, zentara wrote: > > > On Mon, 15 Aug 2005 16:29:54 -0500, [EMAIL PROTECTED] (Bill > > Stephenson) > > wrote: > > > >> On Aug 12, 2005, at 2:06 AM, David Dorward wrote: > >>
<snip /> > >> How do I point this at a perl cgi script to process the logon? > > > > If I'm understanding your question correctly........... > > > > The server is going to automatically process the login with a popup, > > beyond the control of any cgi script. So you are NOT going to bypass > > the > > server's auth mechanism, and replace it with a Perl script. > > Ok, I thought maybe the "AuthType" might have a way to use a perl > script to process logons, but it really doesn't matter now, the client > has decided not to try and fight this issue (big sigh of relief), which > I tried to point out was actually an interface issue, and go with what > works. But if it was possible it would be interesting to play with ;) > With mod_perl you can override the default apache handler that handles Basic auth. mod_perl lets you override _any_ phase of the request cycle. It effectively turns your web server in to an application server. For an example of how to do basic auth in mod_perl, see http://search.cpan.org/~mschout/Apache-AuthCookie-3.08/lib/Apache/AuthCookie.pm. For more information on mod_perl, see http://perl.apache.org/. trwww -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>