gnustep-webmasters
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: GNUstep links in Dead-tree form...


From: Manuel Guesdon
Subject: Re[2]: GNUstep links in Dead-tree form...
Date: Sat, 14 Feb 2004 15:09:48 +0100 (CET)

On Fri, 13 Feb 2004 13:27:30 -0700 Adam Fedor <address@hidden> wrote:

 >| 
 >| On Friday, February 13, 2004, at 01:04 PM, Alex Perez wrote:
 >| 
 >| >
 >| > See below...we've got a 404 on a 404 :)
 >| > Not Found
 >| > The requested URL /missingdoc.php was not found on this server.
 >| >
 >| 
 >| I think someone needs to make one.

Exactly.
With content  like this:
<?
  if (strlen($URL)>0)
    $TestURL=$URL;
  else
    $TestURL=$REQUEST_URI;
        $NewURL="";
        if ($TestURL=="/resources/documentation/base/Base.html")
                
$NewURL="http://www.gnustep.org/resources/documentation/Developer/Base/Reference/Base.html";;
        else if ($TestURL=="BlaBla")
                $NewURL="BlaBlaNew";
        
        if (strlen($NewURL)>0)
        {
              header ("HTTP/1.0 301 OK");
                header ("Location: $NewURL");
        }
        else
        {
              print "<html><body>My 404 customer message</body></html>\n";
        };

?>

Manuel
-- 
______________________________________________________________________
Manuel Guesdon - ORANGE CONCEPT <address@hidden>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0997  -  Fax: +33 1 4940 0998





reply via email to

[Prev in Thread] Current Thread [Next in Thread]