It seems that virtual changes the current directory, so you will have
problems if you do a virtual( "/someotherdir/file.shtml" ) then
an include( "./myfile.php3" )
A workaround is:
$curDir = dirname( getenv( "SCRIPT_FILENAME" ) );
virtual ( "/someotherdir/file.shtml" );
chdir( $curDir );