HELP: managing multiple virtual folders of cloned websites

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andrewwan1980
    New Member
    • Nov 2007
    • 7

    HELP: managing multiple virtual folders of cloned websites

    I am an ASP web developer developing a website.

    I've got ASP files in many sub-folders of many levels deep.

    I've always used:

    <!-- #INCLUDE VIRTUAL="/VIRTUALSITE/SUBFOLDER1/SUBFOLDER2/FILE.asp" -->

    The VIRTUALSITE name is really the virtual directory created under IIS.

    I clone my website multiple times, to cater for different people. So, each person gets a different VIRTUALSITE name.

    This gets messy when I need to update the websites. I can't do a diff/merge because the files of each site had a "search & replace" applied to them to change the VIRTUALSITE name to the corresponding person.

    Has anyone experienced this problem? Can someone give me some tips/solution on how to resolve this?
  • DrBunchman
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    If the asp file that contains the include is stored in the root folder then you can just use:
    Code:
     
    <!-- #INCLUDE VIRTUAL="/SUBFOLDER1/SUBFOLDER2/FILE.asp" -->
    Dr B

    Comment

    Working...