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's not a dynamic vhost. I tr

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. #

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

2010-10-23 Thread Igor Galić
- "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

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

2010-10-23 Thread Eric Covener
> 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 "NameVirtualHost *:80" to tell Apache to do

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

2010-10-23 Thread Igor Galić
> > --- > > > > Options FollowSymLinks > > AllowOverride All > > > > That is so very wrong, I can't even begin to describe how wrong :-/ > You are allowing .htaccess files from / - which means your > performance will be degraded by a good 50% > But you'

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

2010-10-23 Thread Igor Galić
- "Matt Price" wrote: > 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

[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