RE: Run HTML through CFMX

2003-12-10 Thread Pascal Peters
set up your webserver to run .htm / .html extensions through the CF app
server. How to do this depends on the web server you are using.
-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED] 
Sent: woensdag 10 december 2003 15:07
To: CF-Talk
Subject: Re:Run HTML through CFMX

I have a massive static HTML website that I need to add a security
layer. So including a file won't work.

Bob
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Run HTML through CFMX

2003-12-10 Thread Heald, Tim
You make .htm or .html get parsed by CF in your web server.Then you add
your security.

 
How to do this depends on the web server.

-- 
Timothy Heald 
Web Portfolio Manager 
Overseas Security Advisory Council 
U.S. Department of State 
571.345.2319 

The opinions expressed here do not necessarily reflect those of the U.S.
Department of State or any affiliated organization(s).Nor have these
opinions been approved or sanctioned by these organizations. This e-mail is
unclassified based on the definitions in E.O. 12958.

-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 10:07 AM
To: CF-Talk
Subject: Re:Run HTML through CFMX

I have a massive static HTML website that I need to add a security layer. So
including a file won't work.

Bob

 Use an include.
 
 cfinclude template=myfile.htm
 
 This is a pretty decent technique when you want to use an 
 administrative form (in conjunction with CFFILE) to update static 
 content i.e headers and footers or even long blocks of text.
 
 Jeremy
 
  I know this is on the forum somewhere, but I don't think I am typing 
 
  the right search term.
  
  So how do I get HTML to run through CFMX. I know it isn't the 
  suggested way, but I need to do it. Thanks.
  
  
bob 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Run HTML through CFMX

2003-12-10 Thread Jerry Johnson
I seem to remember (from other people posting to this list) that there is an XML config file to tell CFMX it needs to handle it also.

I'm thinking April-May-ish. Check the archives

Jerry Johnson

 [EMAIL PROTECTED] 12/10/03 10:14AM 
set up your webserver to run .htm / .html extensions through the CF app
server. How to do this depends on the web server you are using.
-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED] 
Sent: woensdag 10 december 2003 15:07
To: CF-Talk
Subject: Re:Run HTML through CFMX

I have a massive static HTML website that I need to add a security
layer. So including a file won't work.

Bob
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Run HTML through CFMX

2003-12-10 Thread Thomas Chiverton
On Wednesday 10 Dec 2003 14:07 pm, Robert Everland III wrote:
 I have a massive static HTML website that I need to add a security layer.
 So including a file won't work.

:hmms
You want to protext .htm file's via a CFML security system ? Keeping the 
existing HTML files intact ?
Can you change the URI to files ? If so, then you can use what is basicaly SES 
to map
/secure/this/file
to 
/secure.cfm?what=/this/file
If you can't, then you could configure the web server to treat .htm/.html as 
CFML files.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Run HTML through CFMX

2003-12-10 Thread Dave Watts
 I have a massive static HTML website that I need to add a 
 security layer. So including a file won't work.

As many others have probably mentioned by now, you need to edit web.xml to
make this work:

 servlet-mapping
servlet-nameCfmServlet/servlet-name
url-pattern*.html/url-pattern
 /servlet-mapping

However, you might be able to get significantly better performance using a
different approach. You might look at security preprocessors for your
specific web server. For example, for IIS, there are a bunch of ISAPI
security filters:

http://www.iisfaq.com/default.aspx?View=P206P=134

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]