On 11/3/05, Boyle Owen <[EMAIL PROTECTED]> wrote: > > foo.myhost.mydomain --> /var/www/foo/ > > bar.myhost.mydomain --> /var/www/bar/ > > bar.myhost.mydomain/path/ --> /var/www/bar/path/ > > I don't see the problem. This is exactly what apache does by default. The > DocumentRoot directive maps the base URL of the site (bar.myhost.mydomain) > onto a filesystem path (/var/www/bar) then any additional path information in > the URL is simply appended to the DocumentRoot (bar.myhost.mydomain/path/ --> > /var/www/bar/path/) > > What have you tried? What went wrong? (include error-log messages)...
See his first example. The subdomain is foo, not bar.