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
The reason for the error is because the name of a mod_wsgi daemon process group must be unique across the whole Apache installation. It is not possible to use the same daemon process group name in different VirtualHost
definitions. This is necessary to avoid conflicts when working out what daemon process group is being referred to in certain situations.
If you're facing this issue while using certbot
command to install multiple "Let's Encrypt Certificates" then it may be due to some bug in certbot
. As discussed here, for a quick workaround you can comment
WSGIScriptAlias
WSGIDaemonProcess
WSGIProcessGroup
to run certbot
command and then remove the comments afterwards.
change originalsite
name
not in the directory address just the name like
WSGIDaemonProcess somethingelse python-path=/var/www/originalsite:/var/www/originalsite/env/lib/python2.7/site-packages
and
WSGIProcessGroup somethingelse
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 :)