Routing interface

This commit is contained in:
2020-06-19 16:37:44 +02:00
parent 78c5934480
commit 8d1c4836e7
8 changed files with 258 additions and 61 deletions

View File

@@ -1,9 +1,11 @@
php_flag display_errors on
Options -Indexes
RedirectMatch 404 /\.idea
RedirectMatch 404 /\.git
RedirectMatch 404 /src
RedirectMatch 404 /test
RedirectMatch 404 /core
RewriteEngine On
RewriteRule ^api(/.*)?$ /index.php?api=$1 [L,QSA]