If you are adamant that you are using 'mylocalhost-wsgi' with WSGIDaemonProcess anywhere else in your Apache configuration, including in other VirtualHost configurations, be it different ServerName or SSL variant of same, then it means that your Apache configuration file snippet that you have defined it in is being included twice by Apache somehow. This could be because you have linked it into two directories or twice into one directory under different names.
In short 'mylocalhost-wsgi' can only be used once anywhere at all in configuration file with WSGIDaemonProcess as the names full into a server wide namespace. Graham On 30 March 2011 04:16, Karsten Goen <[email protected]> wrote: > Hi, > > I tried to setup mod_wsgi for my app. > > I inserted this into my vhost: > > WSGIApplicationGroup %{GLOBAL} > WSGIPassAuthorization On > WSGIDaemonProcess mylocalhost-wsgi user=karamba group=bla processes=1 > \ > threads=4 \ > python-path=/home/karamba/pyramide/env/lib/python2.6/site-packages > > WSGIScriptAlias /myapp /home/karamba/pyramide/env/myapp/pyramid.wsgi > > <Directory /home/karamba/pyramid/env> > WSGIProcessGroup bla > Order allow,deny > Allow from all > </Directory> > > > but when starting apache it throws: > "Name duplicates previous WSGI daemon definition." > > But there are no other WSGI daemons? What can I do? > > cheers > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
