RE: Have CF process HTML files

2006-07-05 Thread Brad Wood
I believe it would be in the httpd.conf file.

There is a block in mine which looks like this:

# JRun Settings
LoadModule jrun_module
/opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun20.so
IfModule mod_jrun20.c
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore
/opt/coldfusionmx7/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51011
#JRunConfig Errorurl optionally redirect to this URL on errors
#JRunConfig ProxyRetryInterval 600
#JRunConfig ConnectTimeout 15
#JRunConfig RecvTimeout 300
#JRunConfig SendTimeout 15
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
/IfModule

I think that is setting up the file extensions to be processed by CF.

Just so you know, I have no clue what I'm talking about, I have never
tested this, and it is just a guess.  With that in mind, try it and see
what happens!  :)

~Brad

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 05, 2006 4:04 PM
To: CF-Talk
Subject: Have CF process HTML files

Hey All,

I know in IIS you can setup CF to process HTML files (so you can have CF
control access to those files).  Can the same be accomplished with
Apache (as I'm new to Apache)?  If so, please send along some details
;-)

TIA

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245452
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Have CF process HTML files

2006-07-05 Thread Dave Watts
 I know in IIS you can setup CF to process HTML files (so you 
 can have CF control access to those files).  Can the same be 
 accomplished with Apache (as I'm new to Apache)?  If so, 
 please send along some details ;-)

Yes. In httpd.conf, you'd simply add the appropriate extensions to the
AddHandler line that CF adds when you use the web server configuration
utility. Of course, you still have to configure CF to process those files,
regardless of what you do with the web server (as of CFMX). I believe that's
in either web.xml or jrun.xml, but Google is your friend here.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245454
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


SOLVED: Re: Have CF process HTML files

2006-07-05 Thread Bryan Stevenson
Thanks Dave and Brad...I figured it would be in httpd.confbut now I know 
where ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245458
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54