Starting a local PHP cli server
<?php if (preg_match('/\.(?:png|jpg|jpeg|gif)$/', $_SERVER['REQUEST_URI'])) { return false; } else { include __DIR__ . '/index.php'; }
use -t to target directory
remove -t to target specific file