logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).


L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT → ODT PDF Export

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révision Les deux révisions suivantes
doc:reseau:apache2:tp01 [25/09/2014 11:20]
Hypathie [OpenSSL : créer un certificat avec apache2]
doc:reseau:apache2:tp01 [25/09/2014 15:22]
Hypathie [OpenSSL : créer un certificat avec apache2]
Ligne 613: Ligne 613:
  
   * **Pour /​var/​www/​index.php**,​ il faut donc :\\ ''​-rw-r----- 1 root www-data 4096 sept. 22 11:47 index.php''​   * **Pour /​var/​www/​index.php**,​ il faut donc :\\ ''​-rw-r----- 1 root www-data 4096 sept. 22 11:47 index.php''​
-<code root>​chmod ​640 /​var/​www/​index.php</​code>​+<code root>​chmod ​644 /​var/​www/​index.php</​code>​
  
   * **Pour /​home/​web/​monsite.com**,​ il faut donc :\\ ''​drwxr-xr-x 3 root www-data 4096 sept. 22 11:44 monsite.com'':​   * **Pour /​home/​web/​monsite.com**,​ il faut donc :\\ ''​drwxr-xr-x 3 root www-data 4096 sept. 22 11:44 monsite.com'':​
Ligne 623: Ligne 623:
   * **Pour /​home/​web/​monsite.com/​public_html/​index.php**,​ il faut donc :\\ ''​-rw-r----- 1 root www-data 4096 sept. 22 11:44 index.php''​   * **Pour /​home/​web/​monsite.com/​public_html/​index.php**,​ il faut donc :\\ ''​-rw-r----- 1 root www-data 4096 sept. 22 11:44 index.php''​
 <code root>​chown root:​www-data /​home/​web/​monsite.com/​public_html/​index.php\ <code root>​chown root:​www-data /​home/​web/​monsite.com/​public_html/​index.php\
- &&​ chmod 640 /​home/​web/​monsite.com/​public_html/​index.php</​code>​+ &&​ chmod 644 /​home/​web/​monsite.com/​public_html/​index.php</​code>​
  
   * **Pour le lien symbolique /​var/​www/​monsite.com** : on ne peut pas modifier ces droits mais ce n'est pas grave. Ce qui compte c'est le fichier vers lequel pointe un lien symbolique.   * **Pour le lien symbolique /​var/​www/​monsite.com** : on ne peut pas modifier ces droits mais ce n'est pas grave. Ce qui compte c'est le fichier vers lequel pointe un lien symbolique.
Ligne 888: Ligne 888:
 <code root>​chmod -R 755 /​home/​hypathie/​www/</​code>​ <code root>​chmod -R 755 /​home/​hypathie/​www/</​code>​
  
-<code root>​chmod ​640 /​home/​hypathie/​www/​index.html\+<code root>​chmod ​644 /​home/​hypathie/​www/​index.html\
  /​home/​hypathie/​www/​pegaseous.com/​public_html/​index.php</​code>​  /​home/​hypathie/​www/​pegaseous.com/​public_html/​index.php</​code>​
  
Ligne 970: Ligne 970:
         SSLCertificateFile ​   /​etc/​apache2/​ssl/​apache.crt         SSLCertificateFile ​   /​etc/​apache2/​ssl/​apache.crt
         SSLCertificateKeyFile /​etc/​apache2/​ssl/​apache.key         SSLCertificateKeyFile /​etc/​apache2/​ssl/​apache.key
 +#<​...>​
 +
 +</​VirtualHost>​
 +</​IfModule>​
 </​code>​ </​code>​
  
doc/reseau/apache2/tp01.txt · Dernière modification: 01/11/2019 08:43 par smolski

Pied de page des forums

Propulsé par FluxBB