php-src/ext/phar/tests/tar/frontcontroller6.phar.phpt
2008-02-12 16:39:59 +00:00

21 lines
458 B
PHP

--TEST--
Phar front controller 404 tar-based
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--ENV--
SCRIPT_NAME=/frontcontroller6.phar.php
REQUEST_URI=/frontcontroller6.phar.php/notfound.php
PATH_INFO=/notfound.php
--FILE_EXTERNAL--
files/frontcontroller.phar.tar
--EXPECTHEADERS--
Status: 404 Not Found
--EXPECT--
<html>
<head>
<title>File Not Found</title>
</head>
<body>
<h1>404 - File /notfound.php Not Found</h1>
</body>
</html>