WEB DEVELOPMENT
[edit]

HTAccess: Router


RewriteEngine On
RewriteCond %{REQUEST_URI} !(.png|.jpg|.webp|.gif|.jpeg|.zip|.css|.svg|.js|.xml)$
RewriteRule (.*) routes.php [QSA,L]

<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>

[www/directory/.htaccess]