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/ --> /var/www/bar/path/
I know I can do that with multiple VirtualHost configuration elements,
but I'd like to add new subdomains just by creating a directory.
Regards,
Andreas
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]