Hello,

So I guess my questions boils down to:

How can I have multiple virtual hosts settings for the same domain? I
cannot get this to work, either they same domain needs to be in the
same file, or you cannot overwrite or add to virtualhost like you
would if you are serving files without virtualhost.


##File 001-mydomain with /mywiki


NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.domain.tld
ServerAlias domain.tld *.domain.tld

WSGIScriptAlias /mywiki /etc/moin/apache/moin.wsgi
....
</VirtualHost>

##Then 002-mydomain that handles everything else except for 1.

<VirtualHost *:80>
ServerName www.domain.tld
ServerAlias domain.tld *.domain.tld

WSGIScriptAlias / /etc/myapp/apache/myapp.wsgi
DocumentRoot /var/www/lucasmanual/
.....
</VirtualHost>

##Then 003-my second domain?

<VirtualHost *:80>
ServerName www.mynewdomain.tld
ServerAlias mynewdomain.tld *.mynewdomain.tld

WSGIScriptAlias / /etcmynewapp/apache/mynewapp.wsgi

</VirtualHost>


Am I missing something here?

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.

Reply via email to