adrian-wang/RestPHPFactory/master/.htaccess - Htaccess File

adrian-wang/RestPHPFactory/master/.htaccess

# Apache needs to let you overrite this (AllowOverride Indexes or AllowOverride All)
DirectoryIndex index.php
<IfModule mod_rewrite.c>
  # Turn Rewrite Engine on
  RewriteEngine On
  # Send all requests to index.php (index.php will parse the request url and routes accordingly)
  RewriteRule ^.*$ index.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file

Comments

Apache