In your httpd.conf file add the following:

AddHandler type-coldfusion .html

Make sure you also have the following in there as well:

Action type-coldfusion /cgi-bin/cfml

Hope that helps.
Dave

David Livingston
Network Admin
214-871-9117
[EMAIL PROTECTED]


-----Original Message-----
From: Chris Edwards [mailto:[EMAIL PROTECTED]] 
Sent: Friday, October 04, 2002 9:45 AM
To: CF-Talk
Subject: apache file extensions and

Hi

I'm trying to send all html files to a cfm file to be processed.

<VirtualHost 192.168.0.67:82>
    DocumentRoot "C:/http/sites/mysite.com"
    AliasMatch   ^/.*html    C:/http/sites/mysite.com/template_1.cfm$1
</VirtualHost>

Now, I assume that the extension for coldfusion files needs to include
html
now.
How do I go about changin that.  Right now, I just get text.

However, I tried the following also, with the same effect. ( changing
the
ext. to cfm )
<VirtualHost 192.168.0.67:82>
    DocumentRoot "C:/http/sites/mysite.com"
    AliasMatch   ^/.*cfm    C:/http/sites/mysite.com/template_1.cfm$1
</VirtualHost>

any ideas? Thanks.

--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to