|
90.
|
|
|
sudo a2ensite default-ssl
|
|
|
|
sudo a2ensite default-ssl
|
|
Translated by
Emmanuel Sunyer
|
|
|
|
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.
|
|
|
|
Les répertoires par défaut sont <filename>/etc/ssl/certs</filename> et <filename>/etc/ssl/private</filename>. Si vous installez le certificat et la clé dans un autre répertoire, assurez-vous de modifier <emphasis>SSLCertificateFile</emphasis> et <emphasis>SSLCertificateKeyFile</emphasis> en conséquence.
|
|
Translated by
Emmanuel Sunyer
|
|
|
|
Located in
serverguide/C/web-servers.xml:599(para)
|
|
92.
|
|
|
With Apache2 now configured for HTTPS, restart the service to enable the new settings:
|
|
|
|
Avec Apache2 maintenant configuré pour HTTPS, redémarrez le service pour activer les nouveaux paramètres[nbsp] :
|
|
Translated by
Emmanuel Sunyer
|
|
|
|
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.
|
|
|
|
Selon comment vous avez obtenu votre certificat, vous devrez entrer un mot de passe lors du redémarrage d'<application>Apache2</application>.
|
|
Translated by
Emmanuel Sunyer
|
|
|
|
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.
|
|
|
|
Vous pouvez accéder aux pages du serveur sécurisé en tapant https://votre_nomdhote/url/ dans la barre d'adresse de votre navigateur.
|
|
Translated by
Emmanuel Sunyer
|
|
|
|
Located in
serverguide/C/web-servers.xml:623(para)
|
|
95.
|
|
|
Sharing Write Permission
|
|
|
|
Permission d'écriture sur le partage
|
|
Translated by
gisele perreault
|
|
Reviewed by
Sylvie Gallet
|
|
|
|
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".
|
|
|
|
Pour que plusieurs utilisateurs soient en mesure d'écrire dans le même répertoire, il sera nécessaire d'accorder la permission d'écriture à un groupe qu'ils partagent en commun. Les exemples suivants accordent l'autorisation partagée d'écriture dans <filename>/var/www/html</filename> pour le groupe «webmasters».
|
|
Translated and reviewed by
Philip Millan
|
|
|
|
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
Pierre Slamich
|
|
|
|
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
Pierre Slamich
|
|
|
|
Located in
serverguide/C/web-servers.xml:640(command)
|
|
99.
|
|
|
sudo find /var/www/html -type f -exec chmod g=rw "{}" \;
|
|
|
|
sudo find /var/www/html -type f -exec chmod g=rw "{}" \;
|
|
Translated and reviewed by
Jean-Marc
|
|
|
|
Located in
serverguide/C/web-servers.xml:641(command)
|