Help for this page

Select Code to Download


  1. or download this
    >perl -e "use CGI qw( redirect ); print(redirect(-uri => 'http://www.e
    +xample.com/page.html', -status => 301))"
    Status: 301
    Location: http://www.example.com/page.html
    
  2. or download this
    >perl -e "use CGI qw( redirect ); print(redirect(-uri => 'http://www.e
    +xample.com/page.html', -status => 301, -nph => 1))"
    HTTP/1.0 301
    ...
    Date: Mon, 26 Mar 2007 15:59:21 GMT
    Location: http://www.example.com/page.html