Skip to content

Instantly share code, notes, and snippets.

@aminnairi
Created February 10, 2022 10:02
Show Gist options
  • Save aminnairi/c777a1d1e4805725574807bee0009a7c to your computer and use it in GitHub Desktop.
Save aminnairi/c777a1d1e4805725574807bee0009a7c to your computer and use it in GitHub Desktop.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /webapi/index.php?route=$1 [L,QSA]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment