Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CF 6 App Running on New CF8 Install - Help!?

New Here ,
Jan 21, 2009 Jan 21, 2009
Hi Guys, I have the following situation:

We have a dying CF6+IIS5 Server that we're trying to replace with an IIS6+CF8 Box.

New IIS6 Install, new CF8 Install.

My site root is: D:\internet\website\site\, exactly as in IIS5.

When I access the site, it works fine untill I click a link. This link refers to a location outside of my site's root. The directory is: D:\internet\website\app

IIS6 Gives me a 404. CF Admin mappings are exactly as on old CF box.

Any ideas?

712
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 22, 2009 Jan 22, 2009
DerekLeu wrote:
> Hi Guys, I have the following situation:
>
> We have a dying CF6+IIS5 Server that we're trying to replace with an IIS6+CF8
> Box.
>
> New IIS6 Install, new CF8 Install.
>
> My site root is: D:\internet\website\site\, exactly as in IIS5.
>
> When I access the site, it works fine untill I click a link. This link refers
> to a location outside of my site's root. The directory is:
> D:\internet\website\app
>
> IIS6 Gives me a 404. CF Admin mappings are exactly as on old CF box.

You need to add a virtual directory mapping your app inside your root
(if it's not in your root and it's not "aliased" inside your root then
it cannot be accessed).

--
Mack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 22, 2009 Jan 22, 2009
I enabled debugging, this is what I see:

10:54:30.030 - coldfusion.runtime.TemplateNotFoundException - in : line -1

File not found: /Rentals/index.cfm

CF_TEMPLATE_PATH=D:\Internet\MetroPropGroup_new\site\Rentals\index.cfm

PATH_TRANSLATED=D:\Internet\MetroPropGroup_new\site\Rentals\index.cfm

this should read :

D:\Internet\MetroPropGroup_new\Apps\Rentals\index.cfm

Any idea on why?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 23, 2009 Jan 23, 2009
LATEST
DerekLeu wrote:
> I enabled debugging, this is what I see:
>
> 10:54:30.030 - coldfusion.runtime.TemplateNotFoundException - in : line -1
>
> File not found: /Rentals/index.cfm
>
> CF_TEMPLATE_PATH=D:\Internet\MetroPropGroup_new\site\Rentals\index.cfm
>
> PATH_TRANSLATED=D:\Internet\MetroPropGroup_new\site\Rentals\index.cfm
>
> this should read :
>
> D:\Internet\MetroPropGroup_new\Apps\Rentals\index.cfm
>
> Any idea on why?

I think you'll need to have a virtual directory setup in IIS mapping
site\Rentals to Apps\Rentals.

--
Mack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources