Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl    
    print "Status: 301 Moved Permanantly\n";
    print "Location: http://www.mydomain.com/page.html\n\n";
    exit;
    
  2. or download this
    1. Whats  the use of 301 redirect and how to do that?
    2. Do I require any Apache setting OR .htaccess setting?
    3. Why I can't simply do "Http-Equiv=refresh" or 
       print "Location:http://www.mydomain.com/page.html\n\n"
       for the same task?