précision pour le VH HTTPS
This commit is contained in:
parent
41d72a2cec
commit
93736a244f
|
@ -183,8 +183,10 @@ La configuration d'un VirtualHost pour HTTPS pourra ainsi ressembler à :
|
|||
|
||||
~~~{.apache}
|
||||
<VirtualHost *:80>
|
||||
ServerName secure.example.com
|
||||
ServerAlias www.example.com example.com
|
||||
RewriteEngine On
|
||||
RewriteRule ^/(.*) https://example.com/$1 [L,R=permanent]
|
||||
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R=permanent]
|
||||
</VirtualHost>
|
||||
<VirtualHost *:443>
|
||||
[...]
|
||||
|
|
Loading…
Reference in New Issue