macromedia.coldfusion.server_administration
[Top] [All Lists]

Re: CF 8 built-in server mapping

Subject: Re: CF 8 built-in server mapping
From: GArlington <garlington@xxxxxxxxxxxxx>
Date: Wed, 23 Jul 2008 01:54:32 -0700 (PDT)
Newsgroups: macromedia.coldfusion.server_administration

On Jul 22, 9:30 pm, "RonRob44" <webforumsu...@xxxxxxxxxxxxxx> wrote:
> I've been asked to add some ColdFusion database features to an existing HTML
> website.   Let's say the site's URL address iswww.myclient.com.
>
>  On the server (hosted elsewhere), the code for the above site is located in
> D:\www\myclient\
>
>  ColdFusion has been installed on the same server, but on drive C:, e.g.
> C:\coldfusion8\wwwroot\
>
>  I can get test cfm templates to execute fine in the c:\coldfusion8\wwwroot\
> directory, but how do I get them to execute in the D:\www\deutzusa\  
> directory?
>
>  I've tried multiple ways to change the jrun-web.xml file to make the mappings
> correct but still cannot get cfm files to be recognized on the website drive 
> D.
>
>  The server is running Windows 2003 and has IIS on it but it is not being 
> used.
>  I'm trying to use CF 8's built-in server for my site.
>
>  Thanks!

The should be a file jrun-web.xml, you should edit it to include:
<virtual-mapping><resource-path>/WEB-INF/*</resource-path><system-
path>yourPathToCFInstallation/servers/yourServer/cfusion.ear/
cfusion.war/WEB-INF</system-path></virtual-mapping>
<virtual-mapping><resource-path>/CFIDE/*</resource-path><system-
path>yourPathToCFInstallation//servers/yourServer/cfusion.ear/
cfusion.war/CFIDE</system-path></virtual-mapping>
<virtual-mapping><virtual-mapping><resource-path>/*</resource-
path><system-path>yourPathToYourServerWebRoot</system-path></virtual-
mapping>

<Prev in Thread] Current Thread [Next in Thread>