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

Delete or Modify CF Mapping

New Here ,
Oct 04, 2011 Oct 04, 2011

How do I delete or modify a CF mapping which does not have Edit or Delete button next to it?

Actions                           Logical Path                Directory Path

No buttons here               /CFIDE                        C:\ColdFusion9\wwwroot\CFIDE

I need to modify the Directory Path as C:\inetpub\MyDevelopment\CFIDE

1.3K
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
Guide ,
Oct 04, 2011 Oct 04, 2011

Hi Rick,

CF\lib\neo-runtime.xml contains the mappings.

I expect you could edit that and restart CF - tho have not done so myself so reader be warned. Perhaps take a copy of backup first.

HTH, Carl.

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
Valorous Hero ,
Oct 04, 2011 Oct 04, 2011

.. but I do not think you would want to delete /CFIDE as that might break things (ajax, charting, ...).  Just fyi.

-Leigh

Message was edited by: -==cfSearching==-

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
Advocate ,
Oct 04, 2011 Oct 04, 2011

He is not suggesting deleting it permanently, he wants to change the location of it. Which is very common. I suspect he meant to delete and then recreate.

Carl is right though, it looks like the only way to change it is by editing neo-runtime.xml.

Jason

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
Community Expert ,
Oct 05, 2011 Oct 05, 2011

12Robots wrote:

Carl is right though, it looks like the only way to change it is by editing neo-runtime.xml.

I suspect that that is so by design, to force you to be conscious of such a change.

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
Valorous Hero ,
Oct 05, 2011 Oct 05, 2011

He is not suggesting deleting it

permanently, he wants to change the location of it. Which is very

common.

I suspect he meant to delete and then recreate.

 

Yep. I realized that after responding. But he did not seem to realize why the delete option was disabled. So it probably does not hurt to mention that it is an important system mapping that should not be deleted.

-Leigh

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 ,
Oct 05, 2011 Oct 05, 2011
LATEST

Hi All,

Thanks for your input; the following is what I am trying to accomplish.

Our current production CF is version 6.  I am installing version 9 on a new machine; version 6 and the old server will be removed once version 9 on the new server is up and running.

Here is what I have on current production server (CF 6)

Actions                    Logical Path         Directory Path

no buttons                 /CFIDE                 C:\Inetpub\MyDevelopment\CFIDE

I am trying to create this new server the same as the old server.

What does these path means and does it matter if they are not the same as the production server?

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
Community Expert ,
Oct 05, 2011 Oct 05, 2011

RickTX wrote:

How do I delete or modify a CF mapping which does not have Edit or Delete button next to it?

Actions                           Logical Path                Directory Path

No buttons here               /CFIDE                        C:\ColdFusion9\wwwroot\CFIDE

I need to modify the Directory Path as C:\inetpub\MyDevelopment\CFIDE

It's indeed as Carl says. In your case, that would mean stopping ColdFusion, modifying the file C:\ColdFusion9\lib\neo-runtime.xml, then restarting.

However, be aware of two things. Firstly, the common tradition, for example when configuring for IIS use, is to copy the entire contents of C:\ColdFusion9\wwwroot\, which includes the CFIDE directory, to C:\inetpub\wwwroot\. Secondly, the URL to the ColdFusion Administrator and to your web pages will change accordingly. The port number usually changes from 8500 to 80.

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