IIS on windows 7 – Links and pictures doesnot work/load

For Example :

1. D:\website is the root folder where all pages of the local website resides.
2. D:\website\iisstart.htm would be the main page.
3. D:\website\troubleshoot.htm be another page
4. D:\website\troubleshooting will be a folder under which other html pages like test1.htm, test2.htm resides. There is a home button which takes you the home page iisstart.htm.
5. D:\website\pictures be another folder under which pic1.jpg, pic2.jpg resides.

When you click on home button in test1.htm nothing happens
Solution : Reference the link like <a href=”..\iisstart.htm”>Home</a>
..\references to the home directory of the webpage (d:\website).

When you load the page test1.htm the pictures does not load

Solution : Reference the link like <img src=”..\pictures\1.jpg” height=”700″ width=”900″>
..\ references to the pictures folder in the home directory (d:\website).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s