Array
(
[SCRIPT_FILENAME] => F:/webbackup/phpdesktop-chrome/www/pretty-urls.php
[REQUEST_METHOD] => GET
[REQUEST_URI] => /phpdesktop-chrome/www/pretty-urls.php
[SCRIPT_NAME] => /phpdesktop-chrome/www/pretty-urls.php
[PHP_SELF] => /phpdesktop-chrome/www/pretty-urls.php
)
Pretty urls can be handled by setting ["web_server"]["404_handler"] option in settings.json file. This is how it works:
Test pretty urls:
Test POST request to
Other tests (these urls do not require 404_handler to be set):