On Monday, September 3, 2012 10:06:28 PM UTC+1, Graham Dumpleton wrote:
>
> If that is your whole VirtualHost, then you simply constructed it 
> wrongly. Missing ServerName and likely didn't turn on NameVirtualHost 
> outside either. If you only have the one site, just don't use 
> VirtualHost, there is no need. 
>
>
Thanks Graham, you are 100 % correct.  I added a ServerName to the 
VirtualHost section and mod_wsgi worked fine with 2.4.  What is interesting 
(at least to me) is that the exact same configuration, sans-ServerName, 
worked with Apache 2.2, but did not work with Apache 2.4.  I followed it up 
a little more and found that the NameVirtualHost command seems to be 
deprecated in 2.4 
(http://httpd.apache.org/docs/2.4/mod/core.html#namevirtualhost) and it is 
now enabled automatically, "any time an IP address and port combination is 
used in multiple virtual hosts".  I imagine that is what caught me.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/modwsgi/-/23AG37nRXhgJ.
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