Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Redirection in mod_perl+CGI

by drfrog (Deacon)
on Nov 30, 2004 at 17:15 UTC ( [id://411228]=note: print w/replies, xml ) Need Help??


in reply to Redirection in mod_perl+CGI

why not use mod_perl's redirection methods? put this in a mod_perl module and load this handler
sub handler { my $r = shift; $r->headers_out->set(Location => "http://www.foo.bar"); }
more examples here mod_perl code snippets

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-25 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found