xeh007 has asked for the wisdom of the Perl Monks concerning the following question:
Ok, this is probably more of an Apache problem, but here it is: I have been forced by those above me to reinvent the wheel and create a web authorization scheme (using the 401 Forbidden header and Basic authentication, see the w3c documentation on HTTP/1.1 for info) using a CGI (why?). The script works perfectly in testing from the command-line, but when used with Apache, I cannot retrieve the username and password. My belief is that this is because the server filters those headers out of the request before forwarding to the CGI if the CGI is not protected by mod_auth or some such. The CGI is already a non-parsed header script. Any help would be greatly appreciated.
-Jules Kongslie
xeh007@yahoo.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache Problems
by nardo (Friar) on Aug 20, 2000 at 00:37 UTC |