I'm trying to get VirtualDocumentRoot to work in a fresh install of apache2 on Ubuntu Server.
I've got httpd.conf configured as such:
<VirtualHost *:80> ServerName thicket DocumentRoot /var/www UseCanonicalName Off VirtualDocumentRoot /var/www/%1/%2 </VirtualHost>
When I restart apache, I can't access dev.test.thicket/index.html even though the associated file/directory exists (/var/www/dev/test/index.html).
When I comment out UseCanonicalName and VirtualDocumentRoot, I can access the server by using thicket/dev/test/index.html
Apache confuses and frightens me. What am I doing wrong here?