KGPython/kgapi/master/api/web/.htaccess - Htaccess File

KGPython/kgapi/master/api/web/.htaccess

Options +FollowSymlinks
IndexIgnore */*
RewriteEngine On

# 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

#RewriteEngine on
#
## 如果是一个目录或者文件,就访问目录或文件
#RewriteCond %{REQUEST_FILENAME} !-d
#
## 如果文件存在,就直接访问文件,不进行下面的RewriteRule
#RewriteCond %{REQUEST_FILENAME} !-f
#
#RewriteRule . index.php

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache