2008-05-13 05:03:49 +08:00
|
|
|
--TEST--
|
|
|
|
Phar front controller rewrite access denied
|
2008-05-14 03:17:17 +08:00
|
|
|
--INI--
|
2008-08-01 21:38:48 +08:00
|
|
|
default_charset=UTF-8
|
2008-05-13 05:03:49 +08:00
|
|
|
--SKIPIF--
|
|
|
|
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
|
|
|
--ENV--
|
|
|
|
SCRIPT_NAME=/frontcontroller10.php
|
|
|
|
REQUEST_URI=/frontcontroller10.php/hi
|
|
|
|
PATH_INFO=/hi
|
|
|
|
--FILE_EXTERNAL--
|
|
|
|
files/frontcontroller4.phar
|
|
|
|
--EXPECTHEADERS--
|
2008-08-01 21:38:48 +08:00
|
|
|
Content-type: text/html; charset=UTF-8
|
2008-05-13 05:03:49 +08:00
|
|
|
Status: 403 Access Denied
|
|
|
|
--EXPECT--
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Access Denied</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>403 - File /hi Access Denied</h1>
|
|
|
|
</body>
|
|
|
|
</html>
|