If your virtual host want to view thier own log files you will need to do the following:
Save the following files to your system. Note: On some browsers you may need to hold your left shift key when clicking. vhserverinfo.html vhshowlogs.pl
Open the vhserverinfo.html in a dostext editor (notepad works fine).
Find these lines:
<A HREF="/virtualcgi/vhshowlogs.pl?log=Access">Examine Access Log
Change virtualcgi to the ScriptAlias you created for your Virtual Host cgi-bin in your srm.conf file, or the cgi-bin ScriptAlias name you setup when setting a Virtual Host's cgi-bin in the
cpanel.
Save the file.
Upload vhserverinfo.html to your virtual host site. If you have already setup a wwwstat program, upload it to the
'wwwstat' directory.
Open the vhshowlogs.pl in a dostext editor (notepad works fine).
Find these lines:
if ($FORM{'log'} eq "Access") { $logf = "$logdir/vhdomain.com-access_log"; }