Kurtumm/yii2playground/master/web/.htaccess - Htaccess File

Kurtumm/yii2playground/master/web/.htaccess

RewriteEngine on

#Rewrite on Alias delete when production
RewriteBase /yii2playground/

# If a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward it to index.php
RewriteRule . index.php

#Header set Access-Control-Allow-Origin "*"
#Header set Access-Control-Allow-Methods: "GET,POST,OPTIONS,DELETE,PUT"

On Github License

Files

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

Comments

Apache