AW: simple but.....not for me!
Peer Stefan
stefan.peer at tiwag.at
Tue Aug 7 06:43:49 UTC 2001
Hi,
You have to add a virtual host with the specific root directory and add a
cname to your zone.
apache example:
NameVirtualHost 192.168.0.1
<VirtualHost 192.168.0.1>
ServerName www.mydomain.com
DocumentRoot /path/to/webroot
# and all the other stuff ...
</VirtualHost>
<VirtualHost 192.168.0.1>
ServerName mydir.mydomain.com
DocumentRoot /path/to/webroot/path/to/mydir
# and all the other stuff ...
</VirtualHost>
and simply add a CNAME to your zonefile.
mydir IN CNAME www
regards,
Stefan
-----Ursprüngliche Nachricht-----
Von: Michele [mailto:no at mail.it]
Gesendet: Dienstag, 07. August 2001 03:05
An: comp-protocols-dns-bind at moderators.isc.org
Betreff: simple but.....not for me!
How can I have mydir.mydomain.com where mydir is a dir of my web?
Thanx
More information about the bind-users
mailing list