-
Notifications
You must be signed in to change notification settings - Fork 1
/
.htaccess
executable file
·38 lines (29 loc) · 1.08 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#Protect .htaccess
<Files .htaccess>
order allow,deny
deny from all
</Files>
#FreeScript
AddDefaultCharset UTF-8
<IfDefine !Free>
<IfModule mod_headers.c>
Header set Cache-Control "private, max-age=0, must-revalidate"
Header set X-UA-Compatible "IE=8; IE=9; IE=10"
</IfModule>
</IfDefine>
# Vous pouvez supprimer les 3 lignes suivantes si vous n'hebergez pas chez Free.fr:
<IfDefine Free>
php56 1
</IfDefine>
Redirect permanent /# https://dvkbuntu.org/
Redirect permanent /telecharger.php https://dvkbuntu.org/downloads/
Redirect permanent /donnation.php https://dvkbuntu.org/
Redirect permanent /connexion.php https://dvkbuntu.org/
Redirect permanent /membre.php https://dvkbuntu.org/
Redirect permanent /list_actu.php https://dvkbuntu.org/
Redirect permanent /open-source.php https://dvkbuntu.org/
Redirect permanent /docs/exemple_RI_final.pdf https://dvkbuntu.org/pdfAdmin/RI_final.pdf
Redirect permanent /docs/statuts_handyopensource_final.pdf https://dvkbuntu.org/pdfAdmin/statuts_hos.pdf
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]