2018-11-13 19:36:52 +01:00
|
|
|
# Cache le PHPSESSID de l'url
|
|
|
|
SetEnv SESSION_USE_TRANS_SID 0
|
|
|
|
|
|
|
|
# Bloque l'accès à la liste des fichiers
|
|
|
|
Options -Indexes
|
|
|
|
|
|
|
|
# Attention, surtout ne rien modifier ci-dessous !
|
2019-05-19 20:35:20 +02:00
|
|
|
# URL rewriting
|
|
|
|
<ifModule mod_rewrite.c>
|
|
|
|
RewriteEngine on
|
|
|
|
RewriteBase /ZwiiCMS/
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
RewriteRule ^(.*)$ index.php?$1 [L]
|
|
|
|
</ifModule>
|