summaryrefslogtreecommitdiff
path: root/ext/phar/tests/zip/frontcontroller8.phar.phpt
blob: 328879b0ea4b89050d0705a2cf1f1dd7cf5cc1b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--TEST--
Phar front controller no index file 404 zip-based
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
<?php if (!extension_loaded("zip")) die("skip"); ?>
--ENV--
SCRIPT_NAME=/frontcontroller8.phar.php/
REQUEST_URI=/frontcontroller8.phar.php/
--FILE_EXTERNAL--
frontcontroller3.phar.zip
--EXPECTHEADERS--
Status: 404 Not Found
--EXPECT--
<html>
 <head>
  <title>File Not Found<title>
 </head>
 <body>
  <h1>404 - File index.php Not Found</h1>
 </body>
</html>