8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
RedirectMatch 403 /plugins/
RedirectMatch 403 /templates/
RedirectMatch 403 /.*\.sqlite
RedirectMatch 403 /.*\.log
RedirectMatch 403 /(README|VERSION|COPYING)
RedirectMatch 403 /config\.(.*)\.php
</IfModule>
# Redirection dynamique, pour les installations sans vhost dédié
# Objectif: supprimer le /www/ de l'URL
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
RewriteRule ^(.*)$ - [E=BASE:%1]
RewriteRule (.*) %{ENV:BASE}/www/$1 [QSA]
</IfModule>
|
<
<
<
<
<
<
<
<
<
<
|
8
9
10
11
12
13
14
|
RedirectMatch 403 /plugins/
RedirectMatch 403 /templates/
RedirectMatch 403 /.*\.sqlite
RedirectMatch 403 /.*\.log
RedirectMatch 403 /(README|VERSION|COPYING)
RedirectMatch 403 /config\.(.*)\.php
</IfModule>
|