Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Forcing Apache to spit out a 401

by rattusillegitimus (Friar)
on Jul 10, 2002 at 14:01 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://180759]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (1)
As of 2024-04-19 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found