Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Image paths different between IIS6 and IIS7 in HTML moduleImage paths different between IIS6 and IIS7 in HTML module
Previous
 
Next
New Post
10/18/2009 2:39 PM
 

I have an installation of 05.01.04 located on a server across my network.  I connect to it with my VS2008 (on my workstation) and develop and debug against it.  The development and debugging is done with the IIS7 built into VS.  While running under the VS version of IIS7 I edit the content of an HTML module and add an image.  Using the FCK Rich Text Editor It enters the following URI:

<img width="883" height="321" src="/website/Portals/0/images/main_img.jpg" alt="" />

When I run it on the local host (IIS7) it comes up just fine.  The property of the image in my browser is:

http://localhost:58320/website/Portals/0/images/main_img.jpg

But I also have this website as a virtual directory running in the IIS6 on another machine.  If I call it up through IIS6 the image is broken and the property in the browser is:

http://www.XXXXX.com/website/Portals/0/images/main_img.jpg

If I remove the "website" it works fine on IIS, like this:

http://www.XXXXX.com/Portals/0/images/main_img.jpg

How can I get this resolved so it will work in both environments?  I don't want to have to develop and debug on my workstation (against IIS7) and then have to rewrite all of the URIs to work on IIS6.  I know I can attach to the instance of IIS6 and use that in my debugging but that's a big pain having to continually attach each time.

One last question that is only partially related - I hate that in the FCK editor everytime you drop text or an image in it automatically wraps it in <p> tags.  I then have to go back in with the basic editor and remove them.  Is there a way to keep FCK from doing this?

All help is appreciated - thanks,

BK

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Image paths different between IIS6 and IIS7 in HTML moduleImage paths different between IIS6 and IIS7 in HTML module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out