Skip to main content
Mihai Baboi
Known Participant
March 6, 2009
Question

Problem with CFIDE

  • March 6, 2009
  • 2 replies
  • 1722 views
Hello,

Until now I have been running CF8 as a standalone server on JRun. Because I also have PHP installed I decided to install it on top of Apache. It all works well, but I'm having a problem with the images in the ColdFusion Administrator. It's mapped in jrun-web.xml (I'll post the code at the end) because I want a different document root for CF and PHP. So after I've done my virtual mappings, the ColdFusion Administrator works, but it will not display any of the images in the site. Does anyone else have this problem, or know how to fix it? It's purely an esthetic problem but it's kind of annoying.

Here's what my virtual mappings in jrun-web.xml look like:
This topic has been closed for replies.

2 replies

BKBK
Community Expert
Community Expert
March 20, 2009
Strange. The images are in CFIDE\administrator\images. I therefore expect Coldfusion to see the images, as it can see the CFM pages. What happens when you experiment with

<virtual-mapping>
<resource-path>/CFIDE/administrator/*</resource-path>
<system-path>C:/usr/coldfusion/wwwroot/CFIDE/administrator</system-path>
</virtual-mapping>


Mihai Baboi
Known Participant
March 20, 2009
quote:

Originally posted by: BKBK


Actualy, I haven't tryied that. I have tryied this:

<virtual-mapping>
<resource-path>/CFIDE/*</resource-path>
<system-path>C:/usr/coldfusion/wwwroot/CFIDE</system-path>
</virtual-mapping>

and that shoul mean that it has to map every subfolder in CFIDE. Even stranger is that I mapped this in apache's httpd.conf and it still doesn't work. I've given up, I'll just map CFIDE in my root folder and that shoul work just fine.
BKBK
Community Expert
Community Expert
March 15, 2009
So after I've done my virtual mappings, the ColdFusion Administrator works, but it will not display any of the images in the site.

Are images missing from the Administrator alone or from the whole site, includng the Administrator?
Mihai Baboi
Known Participant
March 15, 2009
quote:

Originally posted by: BKBK

Are images missing from the Administrator alone or from the whole site, includng the Administrator?


I only had my CFIDE folder mapped to this location. I haven't experimented with other sites but what I can say is that every image in every page of the administration site is missing (is not displaying actually). Since then, I've been doing some research. I asked Raymond Camden from ColdFusion Jedi and he said I should map my virtual directories in httpd.conf and not jrun-web.xml. I've tried that but it still doesn't work. I think there's a problem with the rights on the wwwroot folder in the ColdFusion installation directory because if I move my CFIDE in another location and map it there it works just fine. For now I've solved the problem by moving the CFIDE folder in the web root that I mapped, but it still bugs me that I can't make it work the way I wanted.