« Previous Next »

Thread: IIS 7.0 Testing Multiple Sites

Last post 02-06-2008 3:27 AM by Zarre. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 02-05-2008, 5:19 AM

    • Zarre
    • Not Ranked
    • Joined on 02-05-2008, 5:00 AM
    • Wisconsin
    • Posts 11

    IIS 7.0 Testing Multiple Sites

    I am a fairly young developer who has little to no iis knowledge and my lingo isn't completely up to speed, so sorry in advance if I have a little trouble initially or if this is something easy ( Honestly I have no clue ).

    I have set up IIS 7.0 on Windows Vista. Within the wwwroot folder I have multiple sub directories which hold the content for each of the sites that I am testing. The current issue is that the root directory of every site is C:/Inetpub/wwwroot and I would like to be able to change it to C:/Inetpub/wwwroot/WebSiteName for every sub directory that i have. The reason being in any include file I can't use type something such as #include virtual="/includes/header.inc" and any time I would like to use a global.asa file I need to place the file in wwwroot folder rather than the actual directory all of my other work is in. Is there any way to have the root directory be the sub directory in the wwwroot folder for each sub directory?

  • 02-05-2008, 7:30 AM In reply to

    Re: IIS 7.0 Testing Multiple Sites

    Sure.  Just change the directory in IIS Manager for the site in question to whatever path you wish.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 02-06-2008, 3:27 AM In reply to

    • Zarre
    • Not Ranked
    • Joined on 02-05-2008, 5:00 AM
    • Wisconsin
    • Posts 11

    Re: IIS 7.0 Testing Multiple Sites

    I've been using that as a crude solution. I was curious if there was a way which didn't require me to change it each time I switched sites, kind of like a test server. I tried talking the situation over with a few other people and they suggested something with the Application Pools. Guessing from the response there really isn't another way. Thank you for the help!

Page 1 of 1 (3 items)
Microsoft Communities