On 11/3/05, Andreas Schildbach <[EMAIL PROTECTED]> wrote:
> Yes, exactly. For example, I'd like to install a webpage just by copying
> its contents to /var/www/webpage and then access the page with
> http://webpage.mydomain.tld
See mod_vhost_alias, which is designed to do exactly this.
Joshua.
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