in reply to Re: Forcing Apache to spit out a 401
in thread Logoff/ReLogin to htaccess in one browser
With CGI.pm, you ought to be able to do something like this untested code:
__________use CGI $q = new CGI; print $q->header(-status=>'401 Authorization required'); # add code here to print the rest of the error document
He seemed like such a nice guy to his neighbors / Kept to himself and never bothered them with favors
- Jefferson Airplane, "Assassin"
In Section
Seekers of Perl Wisdom