/cgi-bin/test.pl", {st_mode=S_IFREG|0777, st_size=60, ...}) = 0
[pid 18056] open("/home/nick/public_html/cgi-bin/test.pl/.htaccess", O_RDONLY|O_LARGEFILE) = -1 ENOTDIR (Not a directory)
as for how the site points, here is how it's handled (i've replaced my IP and domain for security reasons):
<Virtualhost
0.0.0.0>
ServerName
domain.comServerAlias
domain.comDocumentRoot /home/nick/public_html
CustomLog /home/nick/access_log combined
ScriptLog /home/nick/script_log
</VirtualHost>
And in case it was missed, in my public_html directory there is a .htaccess file which contains the following:
addhandler cgi-script .pl