I have a website created .asp by using Dreamweaver that use relative links for includes files such as:<!--include file="--/--/lib/header.asp"--> and use site relative links for images, such as <img src=/pictures/square.gif">. I have all my website pages under a local site root folder (www) under c:\inetpub\wwwroot\www.
I have installed IIS7 in Vista, and when I tested it using a sample .asp file to display current time, it works fine (it displays dynamic content, current time, correctly). So, I think IIS7 is installed correctly. However, when I try to view a website page locally in IIS7 by entering page file path, such as http://localhost/www/introduction.asp , it doesn't display any pages with includes files and images with site root relative links are broken and not displayed. Also, links to the pages with includes files are broken.
How can I set up IIS7 correctly so that I can view the website (with includes files and site root relative paths) locally properly? Any help would be much appreciated.
|