Forums
This topic is locked
DWMX and IIS relative linking problem
Posted 17 Jan 2004 05:05:35
1
has voted
17 Jan 2004 05:05:35 David Wank posted:
have web site for cars. I am using IE and IIS with ASP.NET. The site is stored in F:/webs/CarSite and the testing server is C:/inetpub/wwwroot/SITES/Cars. This maps to localhost/SITES/Cars.Here the problem:
When I load the site from dwmx (preview) the URL is correct, localhost/SITES/Cars/index.aspx and everything loads correctly. Whe I hover over the navigation controls, the URLs are correct (localhost/SITES/Cars/about.aspx) and the graphics all load properly.
When I then click on any of the navigation buttons, to about.aspx, for example, the about.aspx URL is correct at localhost/SITES/Cars/about.aspx, but none of the graphics load propely. If I hover over the graphics or the navigation buttons (also graphics) the status bar at the bottom of IE has the links pointing to localhost/Cars INSTEAD of localhost/SITES/Cars.
Thus, while the index page is working properly, any other pages have no graphics, and the relative path to localhost/SITES is lost, and the links look incorrectly for the assets in localhost instead.
I've tried everything I can think of and can't see to figure this one out.
Any suggestions would be greatly appreciated!
Thanks in advance,
DAvid
Replies
Replied 17 Jan 2004 08:44:40
17 Jan 2004 08:44:40 Dave Clarke replied:
Hi
When inserting your graphics make sure you have them set to document relative and not site relative, this may be the problem.
Dave
ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome
When inserting your graphics make sure you have them set to document relative and not site relative, this may be the problem.
Dave
ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome