DPTW/Public/api/.htaccess

6 lines
196 B
ApacheConf
Executable File

Header set Access-Control-Allow-Origin "*"
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ api/index.php?q=$1 [L,QSA]