File Extensions - something other than .cfm

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Re: File Extensions - something other than .cfm

    I've run into a good number of MSIE flavors which simply refuse correctly honor
    the MIME type, and so mapping different extensions to run CF code on the server
    has been a life-savor here.

    And
    [url]http://livedocs.macromedia.com/coldfusion/5.0/Installing_and_Configuring_ColdFus[/url]
    ion_Server/wininstall5.htm worked fine on Windows NT to 2000.

    But I just upgraded to MX and Windows 2003. Following the same basic steps is
    just not working. If I figure it out I'll post, but if anyone else has figured
    this out for MX & W2003, sharing would be great!

    mathandmetal Guest

  2. Similar Questions and Discussions

    1. Custom file extensions
      I am looking for a way to configure CF to respond to requests with extensions other than .cfm I found the KB...
    2. Dreamweaver file extensions
      I have created a link to a sub page of my site and when I tested it, I forgot to add the .htm in the browser. For some reason it worked anyway and...
    3. Add other file extensions for CF to process?
      I want to create something like .jim files that are standard cold fusion files, that are processed by cold fusion. I've tried adding the file...
    4. File extensions
      Everyone I talked to about dds file extensions before I purchased photoshop 7 told me it handled them fine. I can not view or save as for this file...
    5. File Extensions will not save!!!
      When I logoff my system, Windows forgets the file association for a .PDF. I have to manually reset .PDF files to open with Acrobat everytime I login...
  3. #2

    Default Re: File Extensions - something other than .cfm

    HIH,
    You can do this by changing some settings on your IIS server, if that's what
    you're using. See the following note (it's for versions 5 and prior but it
    might work for newer versions too):

    [url]http://www.macromedia.com/go/tn_18214[/url]

    I have just tried this (I'm using CF 5.0) and it worked, though not the way I
    wanted it too. I wanted CF to run the application template every time someone
    requested a non-cfm file on my web site. I basically wanted to prevent users
    from circumventing my application-based login by typing the full address to the
    non-cfm file. But what this does instead, and I should've seen it coming, is
    to try to process the file as if it were a cfm file. So the server will be
    looking for cfm code in your pdf, xls, etc files, which results in very ugly
    errors, as you can imagine. It's too bad because I wanted to avoid the whole
    CFCONTENT nonsense. Does anyone know of any way to call the application
    template when a non-cfm file is requested without having CF try to parse the
    non-cfm file?

    I've been researching this for ages and have yet to find a solution that
    doesn't involve CFCONTENT.

    Thanks,
    v_roma

    v_roma Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139