nguyenthaihan/php-simple-rest-api/master/.htaccess - Htaccess File

nguyenthaihan/php-simple-rest-api/master/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-s
  RewriteRule ^(.*)$ apicontroller.php?rquest=$1 [QSA,NC,L]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^(.*)$ apicontroller.php [QSA,NC,L]
  RewriteCond %{REQUEST_FILENAME} -s
  RewriteRule ^(.*)$ apicontroller.php [QSA,NC,L]  
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache