Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
gobbawee #1
Having CF parse another file type
I'm running IIS 5, Windows 2000, and MX. I can't seem to get it to work. Lets
say I have a new file type I named ".xyz". How do I get Cold Fusion to parse
all of these files the say way a .cfm file is parsed?
Thanks.
gobbawee Guest
-
HowTo Send Uploaded File with INPUT Type file to Sql Server Image Data Type
I have the following problem: I have the following form client side: <FORM.......> <FORM action="./WZUpload.asp" method="Post"... -
HowTo Send Uploaded File with INPUT Type file to Sql Server Image Data Type ?
I have the following problem: I have the following form client side: <FORM.......> <FORM action="./WZUpload.asp" method="Post"... -
File-format Module Cannot Parse the File?
A family member is sending me photos in Compu-Serve GIF format and they are averaging 3-4 MB per photo. I don't think she knows about compression.... -
#17988 [Asn->Csd]: strtotime fails to parse timestamp type from postgresql
ID: 17988 Updated by: derick@php.net Reported By: jam at newimage dot com -Status: Assigned +Status: ... -
Parse HTML file, output to csv file
Message-ID: <2d0bce63.0307041035.78a2bd75@posting.google.com> from riddlermarc contained the following: If you only want to do this... -
Jak-S #2
Re: Having CF parse another file type
Right click my computer > manage > services and applications > internet
information service > web sites > right click default web site (or whatever its
called) > properties > home directory > configuration > mappings
then add a new mapping for your new file extension with the same executable
path as the one the .cfm mapping has. e.g.:
Executable: C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll
Extension: .xyz
Verbs: All Verbs
Script Engine: checked
Check file exists: unchecked
Hope that helps,
Jack
Jak-S Guest
-
gobbawee #3
Re: Having CF parse another file type
Jack - thanks for your response. I have done that and now only get a "Page
cannot be displayed" error for an "xyz" file.
The xyz file only has a #now()# statement in it, as a test.
any ideas? Thanks.
gobbawee Guest
-
Dean Harmon #4
Re: Having CF parse another file type
when you add .xyz to the extension list in IIS it just tells IIS to forward
the request to the ColdFusion engine for processing. You will need to tell
ColdFusion how to deal with the .xyz filetype as well.
First, let me preface this with the fact that I haven't tried this and it
may not work, but it should...
Look on the web for how to properly configure a J2EE web.xml file. This
will be located in the WEB-INF directory at either
C:\CFusionMX7\wwwroot\WEB-INF or C:\INetPub\wwwroot\WEB-INF. If you open it
up you can see the servlet mappings about 2/3 of the way down. This tells
coldFusion what to do with a file of a given file type (generally cfc, cfm,
etc.).
Dean
"gobbawee" <webforumsuser@macromedia.com> wrote in message
news:d0f6vc$fgn$1@forums.macromedia.com..."Page> Jack - thanks for your response. I have done that and now only get a> cannot be displayed" error for an "xyz" file.
>
> The xyz file only has a #now()# statement in it, as a test.
>
> any ideas? Thanks.
>
Dean Harmon Guest



Reply With Quote

