Htaccess File

johnzxw/yii2-demo/dev/api/web/.htaccess

REQUEST_FILENAME, REQUEST_URI
<IfModule rewrite_module>
Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule . index.php
</IfModule>
Exit mobile version