equal
deleted
inserted
replaced
12 * obtain it through the world-wide-web, please send an email |
12 * obtain it through the world-wide-web, please send an email |
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Controller |
16 * @package Zend_Controller |
17 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
17 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @license http://framework.zend.com/license/new-bsd New BSD License |
18 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @version $Id: Apache404.php 20096 2010-01-06 02:05:09Z bkarwin $ |
19 * @version $Id: Apache404.php 24593 2012-01-05 20:35:02Z matthew $ |
20 */ |
20 */ |
21 |
21 |
22 /** Zend_Controller_Request_Http */ |
22 /** Zend_Controller_Request_Http */ |
23 require_once 'Zend/Controller/Request/Http.php'; |
23 require_once 'Zend/Controller/Request/Http.php'; |
24 |
24 |
48 if ($requestUri === null) { |
48 if ($requestUri === null) { |
49 if (isset($_SERVER['HTTP_X_REWRITE_URL'])) { // check this first so IIS will catch |
49 if (isset($_SERVER['HTTP_X_REWRITE_URL'])) { // check this first so IIS will catch |
50 $requestUri = $_SERVER['HTTP_X_REWRITE_URL']; |
50 $requestUri = $_SERVER['HTTP_X_REWRITE_URL']; |
51 } elseif (isset($_SERVER['REDIRECT_URL'])) { // Check if using mod_rewrite |
51 } elseif (isset($_SERVER['REDIRECT_URL'])) { // Check if using mod_rewrite |
52 $requestUri = $_SERVER['REDIRECT_URL']; |
52 $requestUri = $_SERVER['REDIRECT_URL']; |
53 if (isset($_SERVER['REDIRECT_QUERYSTRING'])) { |
53 if (isset($_SERVER['REDIRECT_QUERY_STRING'])) { |
54 $parseUriGetVars = $_SERVER['REDIRECT_QUERYSTRING']; |
54 $parseUriGetVars = $_SERVER['REDIRECT_QUERY_STRING']; |
55 } |
55 } |
56 } elseif (isset($_SERVER['REQUEST_URI'])) { |
56 } elseif (isset($_SERVER['REQUEST_URI'])) { |
57 $requestUri = $_SERVER['REQUEST_URI']; |
57 $requestUri = $_SERVER['REQUEST_URI']; |
58 } elseif (isset($_SERVER['ORIG_PATH_INFO'])) { // IIS 5.0, PHP as CGI |
58 } elseif (isset($_SERVER['ORIG_PATH_INFO'])) { // IIS 5.0, PHP as CGI |
59 $requestUri = $_SERVER['ORIG_PATH_INFO']; |
59 $requestUri = $_SERVER['ORIG_PATH_INFO']; |