0

For local development I'm using the php built in server. Everythig works finde so far, but if in a url is a point or a file suffix the built in server returns a 404 even before it hitting my application

Im using the phalcon framework

This is my .htrouter.php:

<?php

if (!file_exists(__DIR__ . '/' . $_SERVER['REQUEST_URI'])) {
   $_GET['_url'] = $_SERVER['REQUEST_URI'];
}

return false;
4

0 回答 0