http://qs321.pair.com?node_id=180759


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"