alachaum/simpleinvoices/mno-develop/.htaccess - Htaccess File

alachaum/simpleinvoices/mno-develop/.htaccess

IndexIgnore *

<FilesMatch ".(htaccess|htpasswd|ini|phps|fla|psd|log|sh|tpl)$"> 
  Order Allow,Deny 
  Deny from all 
</FilesMatch>

<FilesMatch ".(htm|html|css|js|php)$">
  AddDefaultCharset UTF-8
</FilesMatch>

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/?([a-zA-Z0-9_]+)-([a-zA-Z0-9_]+)-([a-zA-Z0-9_]+)?$ index.php?module=$1&view=$2&id=$3

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/?([a-zA-Z0-9_]+)-([a-zA-Z0-9_]+)$ index.php?module=$1&view=$2 [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache