we're running CF 4.5 SP2 on redhat with apache and there is no problem
using cfinclude to include files with extensions other than .cfm (not that
I'd recommend it). CFinclude will always execute the code in an included
file as cfml within the scope of the script containing the cfinclude tag,
regardless of the extension. No idea why this isn't working for you though
- just thought I'd confirm that it definitely should work.


Mark


At 04:13 PM 2/19/01 -0500, you wrote:
>ok thanks it was just a suggestion, thanks for clearing it up though.
>
>* Matt Liotta ([EMAIL PROTECTED]) wrote:
>> CFInclude has nothing to do with the web server. Included files are handled
>> by CF alone.
>> 
>> -Matt
>> 
>> > -----Original Message-----
>> > From: Jordan Newman [mailto:[EMAIL PROTECTED]]
>> > Sent: Sunday, February 18, 2001 10:36 PM
>> > To: CF-Linux
>> > Subject: Re: cfinclude w/ext other than .cfm
>> > 
>> > 
>> > seems like apache doesnt know how to interpret the .inc file, 
>> > to get .inc
>> > files to be parsed by apache add the following to httpd.conf:
>> > 
>> > AddType application/x-httpd-php .inc
>> > 
>> > that will parse .inc files via the php module
>> > 
>> > * Jim Priest ([EMAIL PROTECTED]) wrote:
>> > > Thanks for all the info - but it still does not work on my 
>> > Linux box. :)
>> > > 
>> > > I can set the files to .cfm and it works fine. Rename 
>> > include.cfm to include.inc and adjust the calling cfinclude and
>> > > it bombs? I also tried .htm / .html and no luck there either.
>> > > 
>> > > I've never run into this problem with NT/2000 before so I'm 
>> > at a loss
>> > > - I can't imagine it's an issue with Apache?
>> > > 
>> > > In regards to security the .cfm files don't have any actual 
>> > cfm in them anyway -
>> > > they are simply some common menu items I need to include on a few
>> > > pages...  They could be .html pages  - I've used the .inc 
>> > in the past
>> > > so that I can have Verity ignore the .inc pages during indexing.
>> > > 
>> > > Any other ideas on why this isn't working? Bug in CF?
>> > > I'm running the latest 4.5 w/SP2...
>> > > 
>> > > Thanks
>> > > Jim
>> > > 
>> > > 
>> > > 
>> > --------------------------------------------------------------
>> > ----------------
>> > > Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
>> > > To Unsubscribe visit 
>> > http://www.houseoffusion.com/index.cfm?sidebar=listsbody=list
>> s/cf_linux or send a message to [EMAIL PROTECTED] with
>> 'unsubscribe' in the body.
>> 
>> -- 
>> Jordan Newman
>> [EMAIL PROTECTED]
>> 
>> -=I Might Lose My Mind But I'll Always Be Sane=-
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to