Common folder for sites How it's possible to do that????

Discussion in 'Site & Server Administration' started by blue_angel, Aug 24, 2006.

  1. #1
    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 ?
     
    blue_angel, Aug 24, 2006 IP
  2. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #2
    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.
     
    eXe, Aug 24, 2006 IP
  3. wheel

    wheel Peon

    Messages:
    477
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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 :).
     
    wheel, Aug 24, 2006 IP
  4. blue_angel

    blue_angel Well-Known Member

    Messages:
    1,174
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #4
    Thanks a lot for your help..
     
    blue_angel, Aug 27, 2006 IP