Apache http server problems

前端 未结 2 1824
难免孤独
难免孤独 2021-02-19 13:59

I am using Apache version 2.2.20 (ubuntu) and attempting to use a custom httpd.conf setup however I am getting the following error message and would appreciate any guidance that

相关标签:
2条回答
  • 2021-02-19 14:12

    I have had a similar issue where i used SSL keys with passwords. What i did to make it run was: sudo pkill apache2 sudo /etc/init.d/apache2 start

    I would not recommend removing Listen *:80 from your apache config.

    0 讨论(0)
  • 2021-02-19 14:22

    Look: "module xxx_module is already loaded"

    Answer: You are loading those modules more than once. Try a search and comment/delete problematic lines:

    In Centos/RHEL:

    grep ssl_module -rI /etc/httpd/*   
    /etc/httpd/conf/httpd.conf:LoadModule ssl_module /usr/lib64/httpd/modules/mod_ssl.so
    /etc/httpd/conf.d/ssl.conf:LoadModule ssl_module modules/mod_ssl.so
    

    In this case ^ I commented out line in /etc/httpd/conf/httpd.conf so all SSL stuff live in /etc/httpd/conf.d/ssl.conf

    Same for rewrite_module

    grep rewrite_module -rI /etc/httpd/*
    

    In Debian/Ubuntu:

    grep ssl_module -rI /etc/apache2/*
    
    0 讨论(0)
提交回复
热议问题