-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
30 lines (20 loc) · 914 Bytes
/
.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
### Empecher le listage du contenu d’un repertoire
Options -Indexes
### Specifier un fichier d’index different#
# DirectoryIndex accueil.html
RewriteEngine On
### Redirect http to https
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
### Redirige les requetes vers les fichiers correspondants
RewriteRule mentions-legales$ mentions-legales.php
RewriteRule legacy$ mentions-legales.php
RewriteRule legal$ mentions-legales.php
RewriteRule photo$ ./photographie
# RewriteRule 3d https://quentinperou.dyjix.fr/quentinperou.fr/3d/
### Redirections vers les reseaux sociaux et autres
RewriteRule insta https://www.instagram.com/quentinperou/
RewriteRule insta3d https://www.instagram.com/byquentin_/
RewriteRule linkedin https://www.linkedin.com/in/quentinperou/
RewriteRule twitch https://www.twitch.tv/quentinperou
RewriteRule showreel https://youtu.be/t_VYn4xi-I4