Htaccess File

x-magic/drama-tracker/master/api/.htaccess

REQUEST_FILENAME
<IfModule mod_rewrite.c>
    RewriteEngine On

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

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

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