I have a website set up in IIS called "mysite" which points to d:\inetpub\wwwroot\mysite.
I have created a virtual directory under that site that points to d:\inetpub\wwwroot\shared.
I have the following folders:
under admintool I have:
in the includes folder, I have an asp page called top.asp. In that page I have an image tag as follows: <img src="/shared/images/myimag
in the administration folder, I have an asp page called main.asp. In that page I have an include statement as follows: <!-- #include virtual="/shared/admintool
Everything works fine that way it is stated above. I was hoping not to have to use the absolute server paths in my image tag and include statements. ie: I wanted to have my image tag be <img src="images/myimage.jpg" /> But, I guess that when open "mysite" in a browser and go to the main.asp page (http://mysite/shared/administration/main.asp
) then it is trying to find the myimage.jpg file under d:\inetpub\wwwroot\mysite\
images\ instead of d:\inetpub\wwwroot\share\a
This is probably quite confusing, but, is there any way to get around this?