hi everybody.i have a question.what's the difference between userdir and virtual host in apache.i know that with userdir the domain name of the website is unique and we make difference between website with user accounts.for example these website can be hosted on the same web server running apache:
1.
http://www.example.com/~u1
2.
http://www.example.com/~u2
.
.
...etc.
and i know that with virtual host we can have different domain name, like IIS.
but the thing i don't get is what's the difference.in what situations we use userdir and in what situations we use virtual host.
if someone explain it to me, i'd appreciate it.