mithun12000/Yii2-CMS/master/app/application/api/web/.htaccess - Htaccess File

mithun12000/Yii2-CMS/master/app/application/api/web/.htaccess

<IfModule mod_rewrite.c> 
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteRule (.*) index.php/$1
</ifModule>

#<IfModule mod_headers.c> 
#Header set Access-Control-Allow-Origin "*"
#Header set Access-Control-Allow-Method "GET, POST, PUT, OPTIONS"
#Header set Access-Control-Allow-Credentials: true
#Header set Access-Control-Allow-Headers "Authorization, Content-Type, Set-Cookie, Cookie"
#</ifModule>

On Github License

Files

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

Comments

Apache