First you need to share windows folder for everyone with full access permissions,Than in Linux /etc/fstab file add this line:

ws is windows server name, linuxwww windows shared folder. /home/user/windowsshare This is where windows shared folder mounted in linux.

You need authorize params for windows, for this create /home/user/.smbcredentials and type in:

save and set permission 600.

Remember to use noserverino option because cifs default have serverino and you may have problem with php is_dir function

Now add virtualhost in apache, configuration is simply nothing special: