php-src/ext/phar/tests/frontcontroller10.phpt

25 lines
502 B
Plaintext
Raw Normal View History

2008-01-05 05:12:44 +00:00
--TEST--
2008-02-11 01:07:53 +00:00
Phar front controller rewrite access denied
2008-05-13 19:18:11 +00:00
--INI--
default_charset=UTF-8
2008-01-05 05:12:44 +00:00
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--ENV--
SCRIPT_NAME=/frontcontroller10.php
2008-01-05 05:12:44 +00:00
REQUEST_URI=/frontcontroller10.php/hi
PATH_INFO=/hi
2008-01-05 05:12:44 +00:00
--FILE_EXTERNAL--
files/frontcontroller4.phar
2008-01-05 05:12:44 +00:00
--EXPECTHEADERS--
Content-type: text/html; charset=UTF-8
Status: 403 Access Denied
--EXPECT--
<html>
<head>
<title>Access Denied</title>
</head>
<body>
<h1>403 - File /hi Access Denied</h1>
</body>
2008-02-11 01:07:53 +00:00
</html>