Skip to main content
Known Participant
October 4, 2011
Question

Delete or Modify CF Mapping

  • October 4, 2011
  • 2 replies
  • 1420 views

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

    This topic has been closed for replies.

    2 replies

    BKBK
    Community Expert
    Community Expert
    October 5, 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.

    Legend
    October 4, 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.

    Inspiring
    October 4, 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==-

    12Robots
    Participating Frequently
    October 5, 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