hexC0D3/Grades_v2.0/master/htdocs/api/.htaccess - Htaccess File

hexC0D3/Grades_v2.0/master/htdocs/api/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /api/
  
  RewriteCond %{REQUEST_FILENAME} !-f
  
  
  RewriteRule ^([[a-zA-Z0-9-=&_@.]+)$ index.php?version=$1
  RewriteRule ^([a-zA-Z0-9-=&_@.]+)/$ index.php?version=$1
  
  RewriteRule ^([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)$ index.php?version=$1&type=$2
  RewriteRule ^([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)/$ index.php?version=$1&type=$2
  
  RewriteRule ^([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)$ index.php?version=$1&type=$2&id=$3
  RewriteRule ^([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)/$ index.php?version=$1&type=$2&id=$3
  
  RewriteRule ^([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)$ index.php?version=$1&type=$2&id=$3&action=$4
  RewriteRule ^([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)/([a-zA-Z0-9-=&_@.]+)/$ index.php?version=$1&type=$2&id=$3&action=$4
  
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache