I have Windows XP, installed VirtualBox, and have now a centOS virtual machine.
I am sharing folders between the two machines using Samba.
I have successfully accessed shared folders in the Home directory.
My problem now is how do I access /var/www? (I have exactly the same setting with home directories in smb.conf except path).
Thanks in advance.

You must add such section to the smb.conf:
User
usermust exist in the system and in Samba (added bysmbpasswd -a user). Of course you can use other username.Check if your user
usercan access this filesystem in Linux (without samba). If it can’t you must give him access rights in Linux.