Htaccess File

DennisSchwartz/RTBackend/master/app/api/.htaccess

REQUEST_FILENAME
<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteBase /test/app/api/

  RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-s
  RewriteRule ^(.*)$ api.php?x=$1 [QSA,NC,L]

  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^(.*)$ api.php [QSA,NC,L]

  RewriteCond %{REQUEST_FILENAME} -s
  RewriteRule ^(.*)$ api.php [QSA,NC,L]  
</IfModule>
Exit mobile version