I'm curious...why do you want CF to read txt files?
andy
-Original Message-
From: Brian McCairn [mailto:[EMAIL PROTECTED]
Sent: Monday, November 05, 2007 5:34 PM
To: CF-Talk
Subject: Re: Reading .TXT files as CF files
Tried this with CF8, stopped and started the ColdFusion 8
for me it was just a marketing idea thing, for instance pages on a fan site for
Liverpool Football club could have the file extension .lfc, or a Manchester
United site could have the file extension .rubbish
~|
ColdFusion 8 -
That's a fun idea. liek I said it was just curiousity...nothing more.
-Original Message-
From: Brian McCairn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 8:37 AM
To: CF-Talk
Subject: Re: Reading .TXT files as CF files
for me it was just a marketing idea thing
Brian McCairn wrote:
Tried this with CF8, stopped and started the ColdFusion 8 Application service
but I'm getting:
Server Error
What is in your *-out.log? Does it work if you access the build in
webserver?
Jochem
~|
I'm curious...why do you want CF to read txt files?
Check robots that read robots.txt or not.
It would be much easier than collecting, reading and parsing IIS logs.
Unless someone has a better idea?
--
___
REUSE CODE! Use custom tags;
See
Hi Brian,
You can have CF process any file ending you want you just have to register
it in IIS (if you are using IIS) so that IIS passes the files ending with
the type you specify off to the CF server. On my server its
C:\ColdFusion8\runtime\lib\wsconfig\1\jrun.dll
Its in IIS under websites,
In web.xml map *.txt to the CfmServlet.
Ah ok, thanks, I will try.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
I'm curious...why do you want CF to read txt files?
Check robots that read robots.txt or not.
It would be much easier than collecting, reading and parsing IIS logs.
Unless someone has a better idea?
--
___
REUSE CODE! Use custom tags;
See
-
From: Brian McCairn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 8:37 AM
To: CF-Talk
Subject: Re: Reading .TXT files as CF files
for me it was just a marketing idea thing, for instance pages on a fan site
for Liverpool Football club could have the file extension .lfc
Not sure I would try it with a standard file type like .txt or .ini
though. That could create some confusion...
The only confusion could be when a .txt file contains CF tags that
should not be executed,
very unlikely.
Otherwise, the txt file will be just passed to the client transparently.
--
Cutter (CFRelated) wrote:
Back when I was doing Corporate Support with a regional ISP (4.5 days)
we used to do this with .inc files (which were included via cfinclude)
within a home rolled CMS. We also did it with an Article manager for an
online magazine using .art file extensions. We were
Nowadays it is a 2 step process. Not only do you have to tell IIS to
send it to JRun, you also have to tell JRun to send it to the CfmServlet
(or the FileServlet, or ...). That is why you need the aditional mapping
in web.xml.
IMHO, this is what is going wrong with CF since CFMX.
I mean, the
Hi,
I'm trying to get IIS (Windows XP) to read .txt files through CF, just
like .cfm or .cfml.
So I defined the same configuration for .txt extensions as for .cfm.
It works under CF 5, but with CF 7 all I get is an empty page.
Is there any other setting necessary in CF itself in order to get it
Claude Schneegans wrote:
I'm trying to get IIS (Windows XP) to read .txt files through CF, just
like .cfm or .cfml.
So I defined the same configuration for .txt extensions as for .cfm.
It works under CF 5, but with CF 7 all I get is an empty page.
Is there any other setting necessary in CF
Tried this with CF8, stopped and started the ColdFusion 8 Application service
but I'm getting:
Server Error
Either the Macromedia application server(s) are unreachable or none of them has
a mapping to process
15 matches
Mail list logo