production/.htaccess
2026-04-18 11:28:42 +00:00

8 lines
339 B
ApacheConf
Executable File

# Réécrit une URL de type xxx/yyy/zzz en index.php?controleur=xxx&action=yyy&id=zzz
RewriteEngine on
# RewriteCond %{Request_URI} !^.*/flexcode_web/.*
RewriteRule ^([a-zA-Z]*)/?([a-zA-Z]*)?/?([a-zA-Z0-9]*)?/?$ index.php?controleur=$1&action=$2&id=$3 [NC,L]
ServerSignature Off
<FilesMatch "\.ini$">
Deny from all
</FilesMatch>