This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
informatica:servidor_internet_2009_http_to_https_apache [2022/09/30 11:37] miquel created |
informatica:servidor_internet_2009_http_to_https_apache [2022/10/01 19:24] miquel [HTTP] |
||
---|---|---|---|
Line 59: | Line 59: | ||
==== Servidor virtual 1: redireccionament d'HTTP a HTTPS ==== | ==== Servidor virtual 1: redireccionament d'HTTP a HTTPS ==== | ||
- | Creo el fitxer '' | + | Creo el fitxer '' |
- | + | ||
- | amb el següent contingut, | + | |
< | < | ||
< | < | ||
ServerName sermn.uab.cat | ServerName sermn.uab.cat | ||
+ | |||
ServerAlias sermn.uab.es | ServerAlias sermn.uab.es | ||
ServerAlias rmn3.uab.cat | ServerAlias rmn3.uab.cat | ||
ServerAlias rmn3.uab.es | ServerAlias rmn3.uab.es | ||
- | Redirect permanent / https:// | + | Redirect permanent / https:// |
</ | </ | ||
</ | </ | ||
Line 77: | Line 76: | ||
==== Servidor virtual 2: redireccionament d' | ==== Servidor virtual 2: redireccionament d' | ||
+ | Creo el fitxer '' | ||
+ | |||
+ | < | ||
+ | < | ||
+ | ServerName sermn.uab.cat | ||
+ | | ||
+ | ServerAlias sermn.uab.es | ||
+ | ServerAlias rmn3.uab.cat | ||
+ | ServerAlias rmn3.uab.es | ||
+ | |||
+ | Redirect permanent / https:// | ||
+ | | ||
+ | #### SSL CERTIFICATES | ||
+ | |||
+ | SSLEngine on | ||
+ | SSLCertificateFile ... | ||
+ | SSLCertificateKeyFile ... | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== Servidor virtual 3: configuració del servidor HTTPS principal ==== | ||
+ | |||
+ | Creo el fitxer '' | ||
+ | |||
+ | < | ||
+ | < | ||
+ | ServerName sermn.uab.cat | ||
+ | |||
+ | #### SSL CERTIFICATES | ||
+ | |||
+ | SSLEngine on | ||
+ | SSLCertificateFile ... | ||
+ | SSLCertificateKeyFile ... | ||
+ | | ||
+ | #### DOCUMENT ROOT | ||
+ | |||
+ | DocumentRoot / | ||
+ | |||
+ | #### DIRECTORIES | ||
+ | |||
+ | < | ||
+ | Options FollowSymLinks | ||
+ | AllowOverride None | ||
+ | </ | ||
+ | |||
+ | ... | ||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Enllaços per proves ===== | ||
+ | |||
+ | ==== HTTP ==== | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | === Aplicacions web === | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ==== HTTPS ==== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
- | ==== Servidor virtual 2: configuració del servidor HTTPS principal ==== | + | === Aplicacions web === |
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||