Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 377C9D8E6 for ; Thu, 30 Aug 2012 12:47:45 +0000 (UTC) Received: (qmail 75695 invoked by uid 500); 30 Aug 2012 12:47:42 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 75264 invoked by uid 500); 30 Aug 2012 12:47:38 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 75213 invoked by uid 99); 30 Aug 2012 12:47:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 12:47:37 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.111.4.25] (HELO out1-smtp.messagingengine.com) (66.111.4.25) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 12:47:29 +0000 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 112A320B5B; Thu, 30 Aug 2012 08:47:09 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 30 Aug 2012 08:47:09 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=catseye.org; h= message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=UbFv9pJaJp3d/uID/pPaBOzzf7o=; b=iuyMRJJNWWGTHg7a2dOWERMoz9Cm ZQneqISKvvNMp5st1sk8YA30Q43A7HfDtr7aEh4o60/hVhapsB6ej4F+eZXas1Sh tw2rfYF6gB7UergBcaaayxBaKdtOGl2zKj0etgPWTsF7kTO9rpDlonRg4pnDn8ws Y57OR9wGx7KWcys= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=UbFv9pJaJp3d/uID/pPaBO zzf7o=; b=BGrMlNjHLHipnYt8tTsf4d0CsHKY/0oGJSIpKepUBr8tZFnzprzUen Jy48RTWlzb5l61TGbtVgPVBTLCdqTe2wdFiXE/V93sFWhk2rpEu+rnF/QZp6pK6Z da9kALy8jwCUmQQ/qeBWVTlia0k+V4k8jYVHkR4nsR6RthWX+R0G0= X-Sasl-enc: S2DQZf/6kz1lvNGeBabDpNai0wD3UtOVLX30hdbcEpsp 1346330828 Received: from 67-194-120-189.wireless.umnet.umich.edu (unknown [67.194.120.189]) by mail.messagingengine.com (Postfix) with ESMTPA id BCBD04836DB; Thu, 30 Aug 2012 08:47:08 -0400 (EDT) Message-ID: <503F60CC.9060703@catseye.org> Date: Thu, 30 Aug 2012 08:47:08 -0400 From: Mark Montague User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:5.0) Gecko/20110630 Thunderbird/5.0 MIME-Version: 1.0 To: users@httpd.apache.org CC: Roy Dellray References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [users@httpd] REDIRECT_STATUS On August 30, 2012 0:54 , Roy Dellray wrote: > Hey guys, can anyone tell me about "REDIRECT_STATUS" > trying to use it and get am "Undefined Index" error You are probably getting this error from an interpreter (e.g., PHP) in which you are running a script. In this case, the error means that Apache HTTP Server simply has not set the REDIRECT_STATUS variable in the script's environment. The most likely causes of this is that your script is either running when an error redirect did NOT occur, or it is running when an error redirect was done to a fully specified URL (starting with "http://" or "https://") rather than a URI path (starting with "/"). See https://httpd.apache.org/docs/current/custom-error.html#variables In general, you should check to see whether the environment variable REDIRECT_STATUS is set before attempting to use it; this will avoid the error message you are getting. -- Mark Montague mark@catseye.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org