|
90.
|
|
|
sudo a2ensite default-ssl
|
|
|
|
sudo a2ensite default-ssl
|
|
Translated by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/web-servers.xml:595(command)
|
|
91.
|
|
|
The directories <filename>/etc/ssl/certs</filename> and <filename>/etc/ssl/private</filename> are the default locations. If you install the certificate and key in another directory make sure to change <emphasis>SSLCertificateFile</emphasis> and <emphasis>SSLCertificateKeyFile</emphasis> appropriately.
|
|
|
|
Le directory <filename>/etc/ssl/certs</filename> e <filename>/etc/ssl/private</filename> sono le posizioni predefinite. Se si installa il certificato e la chiave in un'altra directory assicurarsi di modificare <emphasis>SSLCertificateFile</emphasis> e <emphasis>SSLCertificateKeyFile</emphasis> appropriatamente.
|
|
Translated by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/web-servers.xml:599(para)
|
|
92.
|
|
|
With Apache2 now configured for HTTPS, restart the service to enable the new settings:
|
|
|
|
Con l'HTTPS configurato, riavviare il servizio per abilitare le nuove impostazioni:
|
|
Translated by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/web-servers.xml:606(para)
|
|
93.
|
|
|
Depending on how you obtained your certificate you may need to enter a passphrase when <application>Apache2</application> starts.
|
|
|
|
In base a come è stato ottenuto il certificato, potrebbe essere necessario inserire una passphrase quando viene avviato <application>Apache2</application>.
|
|
Translated by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/web-servers.xml:617(para)
|
|
94.
|
|
|
You can access the secure server pages by typing https://your_hostname/url/ in your browser address bar.
|
|
|
|
È possibile accedere alle pagine del server sicuro digitando «https://nome_host/url/» nel barra degli indirizzi del proprio browser.
|
|
Translated by
Milo Casagrande
|
|
|
|
Located in
serverguide/C/web-servers.xml:623(para)
|
|
95.
|
|
|
Sharing Write Permission
|
|
|
|
Condivisione del permesso di scrittura
|
|
Translated by
Mattia Migliorini
|
|
Reviewed by
Gianfranco Frisani
|
|
|
|
Located in
serverguide/C/web-servers.xml:630(title)
|
|
96.
|
|
|
For more than one user to be able to write to the same directory it will be necessary to grant write permission to a group they share in common. The following example grants shared write permission to <filename>/var/www/html</filename> to the group "webmasters".
|
|
|
|
Per consentire a più utenti di modificare la stessa directory è necessario concedere il permesso di scrittura a un gruppo al quale tutti appartengono. L'esempio seguente concede il permesso di scrittura di <filename>/var/www/html</filename> al gruppo «webmasters».
|
|
Translated and reviewed by
Gianfranco Frisani
|
|
|
|
Located in
serverguide/C/web-servers.xml:631(para)
|
|
97.
|
|
|
sudo chgrp -R webmasters /var/www/html
|
|
|
|
sudo chgrp -R webmasters /var/www/html
|
|
Translated and reviewed by
Gianfranco Frisani
|
|
|
|
Located in
serverguide/C/web-servers.xml:639(command)
|
|
98.
|
|
|
sudo find /var/www/html -type d -exec chmod g=rwxs "{}" \;
|
|
|
|
sudo find /var/www/html -type d -exec chmod g=rwxs "{}" \;
|
|
Translated and reviewed by
Gianfranco Frisani
|
|
|
|
Located in
serverguide/C/web-servers.xml:640(command)
|
|
99.
|
|
|
sudo find /var/www/html -type f -exec chmod g=rw "{}" \;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:641(command)
|