I have installed 2 sites at my server which is under my homedir. I want to install some files at root directory and at the same time to be accesible from both of sites. Each site will <<see> simple a folder under www.mydomain.com/xx/myfolder and evrything real will be under (/myfolder) root directory. Can be done that ?
If you are on IIS and have access to the server, this can be easily done by opening up the IIS Manager, right clicking the intended domain names, then clicking on properties>> the home directory tab & choosing "A directory located on this computer", and entering the path to the common folder.
Conversely in linux, you use 'ls' or the sym link command to do what you've described. One master directory, then other directories that sym link to this one, making it appear as if there's a second identical copy of the directory elsewhere. It's a common technique. At the command prompt type in 'man ls' to get the manual for it. I always forget the format for this one so I'll leave it up to you .