Re: [us...@httpd] mixing dynamic and static virtual host definitions

2010-10-25 Thread Matt Price
On 10-10-25 12:23 PM, Rich Bowen wrote: On Oct 25, 2010, at 12:07 PM, Matt Price wrote: The solution is to put a ServerName (and possibly one or more ServerAlias directives) in the second VirtualHost. thank you. Things seem to work now -- though I confess to being a bit surprised that

Re: [us...@httpd] mixing dynamic and static virtual host definitions

2010-10-25 Thread Matt Price
On 10-10-25 11:21 AM, Eric Covener wrote: then it pre-empts everything (not what I expected, since I'm using ServerName, which I thought limited the application of this stanza to instances in which HTTP_HOST matches. ServerName. Whichever one you put first is the default, which is used when the

Re: [us...@httpd] mixing dynamic and static virtual host definitions

2010-10-25 Thread Matt Price
On 10-10-23 09:33 AM, Eric Covener wrote: 1) if the new stanza is placed above the old one, then ALL traffic arriving at this server is directed to /home/drupal-commons/drupal_commons. 2) if the new stanza goes below the old, it is ignored entirely (this is what I expected). You need 1 "NameV

Re: [us...@httpd] mixing dynamic and static virtual host definitions

2010-10-23 Thread Matt Price
On 10-10-23 09:02 AM, Igor Galić wrote: - "Matt Price" wrote: VirtualDocumentRoot /home/drupal-commons/drupal_commons ServerName tdhc.digitalcommons.ca I don't understand why you're using VirtualDocumentRoot here, even though it'

Re: [us...@httpd] mixing dynamic and static virtual host definitions

2010-10-23 Thread Matt Price
Thanks for the input Igor, On 10-10-23 09:14 AM, Igor Galić wrote: A better way of handling this would be: Options FollowSymlinks AllowOverride None Deny from all # I like Contentnegotiation! Options +MultiViews # I usually don't allow .htaccess, but.. yeah. #

[us...@httpd] mixing dynamic and static virtual host definitions

2010-10-23 Thread Matt Price
Hello, I'm running apache 2.2.16 on a recent Ubuntu Maverick install (ubuntu package version 2.2.16-1ubuntu3). This is on a standalone box with just a few small websites on it. These sites mostly run wordpress installations, which I manage with the dynamic stanzas suggested by the debian p