PHP built in server and .htaccess mod rewrites
Does PHP's built in server not make use of .htaccess? Makes sense I suppose as it isn't relying upon Apache(?). Anyway is it possible to tell the server to make use of these files, can it handle URL rewrites? I have some porjects in frameworks that rely upon these files. APPLICATION_ENV=development php -S localhost:8000 -t public/ Here's the router that I use for the builtin php webserver that serves assets from the filesystem if they exist and otherwise performs a rewrite to an index.php file. Run using: php -S localhost:8080 router.php router.php: <?php chdir(__DIR__); $filePath = realpath