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

Ceci est une ancienne révision du document !


Titre de Votre Tuto

Introduction

Installation

CF apache2

Utilisation

commande apachectl

Vérifiez quels modules sont actuellement activé avec apachectl

apachectl -t -D DUMP_MODULES
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Loaded Modules:
 core_module (static)
 so_module (static)
 watchdog_module (static)
 http_module (static)
 log_config_module (static)
 logio_module (static)
 version_module (static)
 unixd_module (static)
 access_compat_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 filter_module (shared)
 mime_module (shared)
 mpm_prefork_module (shared)
 negotiation_module (shared)
 php5_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 status_module (shared)

shared veux dire que le module ne fait pas partie integrante du binaire httpd et que c'est un module externe chargé en fonction des besoins de configuration.

vérification du fichier /etc/apache2/apache2.conf

apachectl configtest

ou

apachectl -t
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Syntax OK
/usr/sbin/apache2 -t
[Sun Aug 14 11:56:44.606889 2016] [core:warn] [pid 25800] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined
[Sun Aug 14 11:56:44.607124 2016] [core:warn] [pid 25800] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[Sun Aug 14 11:56:44.607210 2016] [core:warn] [pid 25800] AH00111: Config variable ${APACHE_RUN_USER} is not defined
[Sun Aug 14 11:56:44.607260 2016] [core:warn] [pid 25800] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
[Sun Aug 14 11:56:44.607355 2016] [core:warn] [pid 25800] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Sun Aug 14 11:56:44.682181 2016] [core:warn] [pid 25800] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Sun Aug 14 11:56:44.683102 2016] [core:warn] [pid 25800] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Sun Aug 14 11:56:44.683204 2016] [core:warn] [pid 25800] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}

Ces deux commandes ont vérifié le même fichier de configuration notez la difference au niveau du retour…

utilisateurs/cemoi/tutos/apache-2.4.1471169293.txt.gz · Dernière modification: 14/08/2016 12:08 par cemoi

Pied de page des forums

Propulsé par FluxBB