On Jun 28, 10:30 pm, Graham Dumpleton <[email protected]> wrote: > On 19 June 2010 08:44, Lukasz Szybalski <[email protected]> wrote: > > > Hello, > > > So I guess my questions boils down to: > > > How can I have multiple virtual hosts settings for the same domain? > > Seems not. You would just need to be creative with your includes of > snippets. Perhaps putting the snippets in a separate directory and > then including each into each VirtualHost file as appropriate.
Yes indeed. So if you are using debian where you can use the a2ensite or a2dissite to enable apache config files, you will have to disable all the apps except for the main one. Create one for virtual host, create the main file, and then use the include directive to load the other files. <VirtualHost *:80> ServerNamewww.domain.tld ServerAlias domain.tld *.domain.tld WSGIScriptAlias /mywiki /etc/moin/apache/moin.wsgi .... Include /etc/apache2/sites-available/myapp2 Include /etc/apache2/sites-available/myapp3 Include /etc/apache2/sites-available/myapp4 </VirtualHost> Thanks, Lucas -- 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.
