Rearrange struct client_state to reduce memory on amd64
[privoxy.git] / doc / webserver / redirect.php
index 70d7e0b..b00fc9c 100755 (executable)
@@ -1,21 +1,11 @@
-M<?php
+<?php
 
 error_reporting(E_ALL);
 
-// File        :  $Source: /cvsroot/ijbswa/current/project.h,v $
+// redirect.php
 //
-// Purpose     :  redirects requests to a specific paragraph in the online docs
-//                This file belongs into
-//                ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/
-//                
-// $Id: Makefile.in,v 1.12 2001/06/12 17:15:56 swa Exp $
-//
-// Written by and Copyright (C) 2001 the SourceForge
-// IJBSWA team.  http://ijbswa.sourceforge.net
-//
-// Based on the Internet Junkbuster originally written
-// by and Copyright (C) 1997 Anonymous Coders and 
-// Junkbusters Corporation.  http://www.junkbusters.com
+// Copyright (C) 2001 The SourceForge ijbswa team.
+// May be used under the GNU GPL, version 2 or later.
 
 
 // Parse the v= and to= paramaters
@@ -81,26 +71,29 @@ parse_parameters();
 
 
 // Please do NOT delete any of these redirects.  Even if you take them
-// out of JunkBuster, they may be in use by older releases.
+// out of Privoxy, they may be in use by older releases.
 
 // Note 2: Should *not* include #target part in these URLs.
 // (It works with MS IE, but is not valid HTTP.)
-
+//http://ijbswa.sourceforge.net/user-manual/configuration.html
 switch($to)
 {
    case "faq":
       // Used by 2.9.0+
-      header ("Location: http://www.junkbusters.com/ht/en/ijb2faq.html");
-      exit;
+//      header ("Location: http://www.junkbusters.com/ht/en/ijb2faq.html");
+        header ("Location: http://www.privoxy.org/faq/");
+    exit;
    case "option":
       // Used by 2.9.0+
       // Config file options
       // called as redirect.php?v=X.X.X&to=option#optionname
-      header ("Location: http://www.junkbusters.com/ht/en/ijb2man.html");
+//      header ("Location: http://www.junkbusters.com/ht/en/ijb2man.html");
+      header ("Location: http://www.privoxy.org/user-manual/configuration.html");
       exit;
    case "win":
       // Used by 2.9.0+ on WIN32
-      header ("Location: http://www.junkbusters.com/ht/en/ijbwin.html");
+//      header ("Location: http://www.junkbusters.com/ht/en/ijbwin.html");
+      header ("Location: http://www.privoxy.org/user-manual/configuration.html");
       exit;
 //   case "home":
 //      // Currently hard-wired into the code.
@@ -111,31 +104,9 @@ switch($to)
 //      header ("Location: http://www.fsf.org/copyleft/gpl.html");
 //      exit;
    default:
-      header ("Location: http://ijbswa.sourceforge.net/");
+      header ("Location: http://www.privoxy.org/");
       exit;
 }
 
 exit;
 ?>
-
-// This program is free software; you can redistribute it 
-// and/or modify it under the terms of the GNU General
-// Public License as published by the Free Software
-// Foundation; either version 2 of the License, or (at
-// your option) any later version.
-//
-// This program is distributed in the hope that it will
-// be useful, but WITHOUT ANY WARRANTY; without even the
-// implied warranty of MERCHANTABILITY or FITNESS FOR A
-// PARTICULAR PURPOSE.  See the GNU General Public
-// License for more details.
-//
-// The GNU General Public License should be included with
-// this file.  If not, you can view it at
-// http://www.gnu.org/copyleft/gpl.html
-// or write to the Free Software Foundation, Inc., 59
-// Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-//
-//
-// $Log: Makefile.in,v $
-//