Array
(
[SCRIPT_NAME] => /image/gallery/cztomczak-phpdesktop-62d2f41/src/www/pretty-urls.php
[REQUEST_URI] => /image/gallery/cztomczak-phpdesktop-62d2f41/src/www/pretty-urls.php
[REQUEST_METHOD] => GET
[SCRIPT_FILENAME] => /home/wwwcla/public_html/image/gallery/cztomczak-phpdesktop-62d2f41/src/www/pretty-urls.php
[SCRIPT_URI] => https://www.clariontours.co.ke/image/gallery/cztomczak-phpdesktop-62d2f41/src/www/pretty-urls.php
[SCRIPT_URL] => /image/gallery/cztomczak-phpdesktop-62d2f41/src/www/pretty-urls.php
[PHP_SELF] => /image/gallery/cztomczak-phpdesktop-62d2f41/src/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):