fix err RewriteCond
This commit is contained in:
parent
4f7616c2b1
commit
3338c4633c
|
@ -319,7 +319,6 @@ La configuration d'un VirtualHost pour HTTPS pourra ainsi ressembler à :
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteCond %{HTTPS} !=on
|
RewriteCond %{HTTPS} !=on
|
||||||
RewriteCond %{HTTP:X-Forwarded-Proto} !=https
|
RewriteCond %{HTTP:X-Forwarded-Proto} !=https
|
||||||
RewriteCond %{HTTP_HOST} !^secure.example.com$
|
|
||||||
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R=permanent]
|
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R=permanent]
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
~~~
|
~~~
|
||||||
|
|
Loading…
Reference in a new issue