patrix/ON/master/exemplo/.htaccess - Htaccess File

patrix/ON/master/exemplo/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine On
  # Determina a base de reescrita
  RewriteBase /ON/exemplo
  # Verifica se a url nao corresponde a um arquivo existente
  RewriteCond %{REQUEST_FILENAME} !-f
  # Verifica se a url nao corresponde a um diretorio existente
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule .([a-zA-Z0-9]+)?$ index.php
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache