RolandKujundzic/rkphplib/master/test/ARestAPI/v01/.htaccess - Htaccess File

RolandKujundzic/rkphplib/master/test/ARestAPI/v01/.htaccess

Header add Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
Header add Access-Control-Allow-Methods "GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS"

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /api/v1.0/index.php [QSA,L]

On Github License

Files

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

Comments

Apache