Olaf van der Spek wrote:
On 11/3/05, Boyle Owen <[EMAIL PROTECTED]> wrote:
See his first example. The subdomain is foo, not bar.
So what? foo.myhost.mydomain is a separate VirtualHost so it has a different
DocumentRoot (/var/www/foo/). So http://foo.myhost.mydomain/wibble/ -->
/var/www/foo
Boyle Owen wrote:
is it possible to configure Apache2 to serve the contents of a
directory, in a way so the first level of the structure serves as the
name of a subdomain?
I don't see the problem. This is exactly what apache does by default. The
DocumentRoot directive maps the base URL of th
Hello everyone,
is it possible to configure Apache2 to serve the contents of a
directory, in a way so the first level of the structure serves as the
name of a subdomain?
For example:
foo.myhost.mydomain --> /var/www/foo/
bar.myhost.mydomain --> /var/www/bar/
bar.myhost.mydomain/path/ --> /va