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 package maintainers. These look like this:
-------------------
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<VirtualHost *:80>
UseCanonicalName Off
VirtualDocumentRoot /var/www/%0
Options All
RewriteEngine On
RewriteRule ^/wp-uploads/(.*)$ /var/www/wp-uploads/%{HTTP_HOST}/$1
</VirtualHost>
------------------------------
These work completely unproblematically. I recently added another site,
though, which is managed by drupal. I would like to access this site in
the following manner:
<VirtualHost *:80>
VirtualDocumentRoot /home/drupal-commons/drupal_commons
ServerName tdhc.digitalcommons.ca
</VirtualHost>
My expectation is that adding this stanza above the <VirtualHost>
directive I show above should direct all traffic on
tdhc.digitalcommons.ca to /home/drupal-commons/drupal_commons/, and
allow other traffic to proceed to the wordpress sites in /var/www/*.
However, I get the following behaviour:
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).
Can someone tell me what I'm doing wrong and how I should fix it?
Thanks so much for your help! Best,
Matt
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org