opendcim/repo/master/repo/api/.htaccess - Htaccess File

opendcim/repo/master/repo/api/.htaccess

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule $(.*)$ %{ENV:BASE}index.php [QSA,L]
Header set Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"

On Github License

Files

Download PDF of Htaccess file
ENV, GET, POST, PUT, REQUEST_FILENAME

Comments

Apache