forked from ZwiiCMS-Team/ZwiiCMS
22 lines
575 B
ApacheConf
Executable File
22 lines
575 B
ApacheConf
Executable File
# 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 !
|
|
# 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> |