frontcontroller10.phpt 454 B

123456789101112131415161718192021222324
  1. --TEST--
  2. Phar front controller rewrite access denied
  3. --INI--
  4. default_charset=UTF-8
  5. --EXTENSIONS--
  6. phar
  7. --ENV--
  8. SCRIPT_NAME=/frontcontroller10.php
  9. REQUEST_URI=/frontcontroller10.php/hi
  10. PATH_INFO=/hi
  11. --FILE_EXTERNAL--
  12. files/frontcontroller4.phar
  13. --EXPECTHEADERS--
  14. Content-type: text/html; charset=UTF-8
  15. Status: 403 Access Denied
  16. --EXPECT--
  17. <html>
  18. <head>
  19. <title>Access Denied</title>
  20. </head>
  21. <body>
  22. <h1>403 - File Access Denied</h1>
  23. </body>
  24. </html>