It can be either - usually above the root though - with a direct link to it.

Therefore yoursite.com/cgi-bin/script.pl will go to \home\yoursite.com\cgi-bin\ and perhaps your site is at \home\yoursite.com\files\