web-base/.htaccess

6 lines
114 B
ApacheConf

php_flag display_errors on
Options -Indexes
RewriteEngine On
RewriteRule ^api/(.*)?$ index.php?api=$1&$2 [L,QSA]