2018-04-03 18:37:39 +02: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 !
|
2018-08-30 10:04:52 +02:00
|
|
|
# URL rewriting
|
|
|
|
<ifModule mod_rewrite.c>
|
|
|
|
RewriteEngine on
|
|
|
|
RewriteBase /ZwiiCMS-dev/
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
RewriteRule ^(.*)$ index.php?$1 [L]
|
|
|
|
</ifModule>
|
|
|
|
<ifModule mod_rewrite.c>
|
|
|
|
RewriteEngine on
|
|
|
|
RewriteBase /ZwiiCMS-dev/
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
RewriteRule ^(.*)$ index.php?$1 [L]
|
|
|
|
</ifModule>
|