Je n'utilise plus le sous-domaine test.domine.info,
mais directement http://www.domaine.info
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 RewriteEngine on AuthType Basic AuthName "public" AuthUserFile "/home7/domaine/.htpasswds/public_html/passwd" require valid-user #obligation par https RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} #masquer le nom réel du répertoire RewriteCond %{HTTP_HOST} ^www\.domaine\.info$ RewriteRule ^(index\.html)?$ /test/SMF1113/index.php [L]
Partager