Forums
This topic is locked
Changing the root folder
Posted 12 Jul 2003 10:49:29
1
has voted
12 Jul 2003 10:49:29 Neil Sweeney posted:
I'm trying to set Dreamweaver MX testing server to act like a Brinkster server. By this I mean that the website is based around a root folder that is not at the bottom of the tree, by which you get a address like www15.brinkster.com/wolfsweb/ (my one) and so the root folder is infact <b>/wolfsweb/</b> and not just a simple <b>/</b>. The problem I am having with DMX is that when you insert a image, it codes it in as just <b>/img/logo.png</b> which shows up in DMX fine, but not on my localhost (as of the IIS works like Brinkster's server in that it's all secondary folders (a problem with XP Pro!), localhost/wolfsweb), and so when I put the extra /wolfsweb/ bit infront, the image doesn't show up in DMX but does in localhost. What I want DMX to do is to automatically put the /wolfsweb/ as the root folder (not just a /) and also show the image as it would do on the local host.
Thanks!
<wolf>neil sweeney</wolf>
Replies
Replied 14 Jul 2003 13:46:07
14 Jul 2003 13:46:07 Lee Diggins replied:
Hi Neil
Try changing your images src to document relative rather than root.
Digga
Sharing Knowledge Saves Valuable Time!!!
Try changing your images src to document relative rather than root.
Digga
Sharing Knowledge Saves Valuable Time!!!