Name duplicates previous WSGI daemon definition

前端 未结 4 956
谎友^
谎友^ 2021-02-07 07:09

I\'m changing the domain name of a site. For a period I want the old domain name and the new domain name to point to the site. I\'m running a Python Django site.

My or

4条回答
  •  隐瞒了意图╮
    2021-02-07 07:50

    I have the same problem with Apache2 configuration. In my case I have duplicated 000-default.conf file in /etc/apache2/sites-enabled.

    First I looking 'WSGIDaemon' string in Linux:

    grep -iRl "WSGIDaemon" ./
    

    Second analize every line. I found duplicated file on /etc/apache2/sites-enabled/000-default-copy.conf. After delete, checking syntax:

    sudo apachectl configtest
    

    return 'Syntax OK'. I spend on this 4 hours... I hope somebody use this :)

提交回复
热议问题