Question

résolu

résolu, mais c'était un problème étrange.Je vérifie Config.log, comme suggéré par capsule et a trouvé la ligne suivante:

configure:14368: checking whether to enable mod_ssl
configure:16123: result: no

Je me demandais pourquoi il n'établissait pas SSL quand je l'avais clairement demandé.Ensuite, j'ai trouvé la commande de configuration qu'il avait analysé:

./configure --prefix=/usr/local/apache --enable-so--enable-cgi--enable-info--enable-rewrite--enable-speling--enable-usertrack--enable-deflate --enable-ssl--enable-mime-magic

Notez le manque d'espaces? J'étais entré dans la commande avec chaque directive dans une nouvelle ligne, de sorte que c'était des espaces manquants et que les arguments n'étaient pas correctement passés.

Et maintenant cela fonctionne comme prévu!


Construction Apache (2.2.1):

./configure --prefix=/usr/local/apache \
    --enable-so \
    --enable-cgi    \
    --enable-info   \
    --enable-rewrite    \
    --enable-speling    \
    --enable-usertrack  \
    --enable-deflate \
    --enable-ssl    \
    --enable-mime-magic

Lorsque j'essaie de configurer SSL, je reçois ce qui suit en essayant de redémarrer Apache

Syntax error on line 56 of /usr/local/apache/conf/extra/httpd-ssl.conf:
Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration

Voici la liste des modules compilées (SSL est manquant)

/usr/local/apache/bin/apachectl -M
Loaded Modules:
 core_module (static)
 authn_file_module (static)
 authn_default_module (static)
 authz_host_module (static)
 authz_groupfile_module (static)
 authz_user_module (static)
 authz_default_module (static)
 auth_basic_module (static)
 include_module (static)
 filter_module (static)
 log_config_module (static)
 env_module (static)
 setenvif_module (static)
 version_module (static)
 mpm_prefork_module (static)
 http_module (static)
 mime_module (static)
 status_module (static)
 autoindex_module (static)
 asis_module (static)
 cgi_module (static)
 negotiation_module (static)
 dir_module (static)
 actions_module (static)
 userdir_module (static)
 alias_module (static)
 so_module (static)
 php5_module (shared)

Était-ce utile?

La solution

Check if ./configure doesn't yell about something missing when checking for openssl librairies. It probably didn't compile right, hence the module not listed.

You can also have a look at config.log

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top