httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Webber" <>
Subject VirtualDocumentRoot
Date Sat, 23 Feb 2002 21:54:25 GMT

I've looked around for solutions to this problem and haven't found any
answers.  What I'm trying to do is have user subdomains.  My free dns server
resolves all subdomains, for example to the
same IP address as  What I want to do is have serve from /home/username/www and serve
from /var/www/html.

I tried changing my httpd.conf so that it has:

UseCanonicalName Off

and added:

VirtualDocumentRoot /home/%1/www

The problem is that the user pages work just fine, but the normal domain no longer works.  I just get a 404 error.  As a bonus, I would
also like to have still serve from the same place as  Is that possible?

If anyone knows how to make this work, your help would be greatly

Scott Webber

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message