Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Forcing Apache to spit out a 401

by rattusillegitimus (Friar)
on Jul 10, 2002 at 14:01 UTC ( #180759=note: print w/replies, xml ) Need Help??


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"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://180759]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2021-02-27 04:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?