Facebook
From Mati, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 502
  1. Options -MultiViews
  2. Options -Indexes
  3.  
  4. RewriteEngine On
  5. RewriteBase /tutorials/mvcphp/public
  6.  
  7. RewriteCond %{ENV:REDIRECT_STATUS} ^$
  8. RewriteCond %{REQUEST_FILENAME} !-d
  9. RewriteCond %{REQUEST_FILENAME} !-f
  10. RewriteCond %{REQUEST_FILENAME} !-l
  11.  
  12. RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]