Hi Matt,
I'm this far in trying CFEverywhere to work:
By launching the Jetty demo, you noticed that Jetty is configured with
XML files. We need to create a configuration file for our CFEverywhere
application. Copy the demo.xml to a file called CFEverywhere.xml. Open
the file in any text editor and change the root context to point to the
/CFEverywhere/server/ wwwroot folder. It should look like the following:
<!-- Add root context web applications. -->
<Call name="addWebApplication">
<Arg>/</Arg>
<Arg><SystemProperty name="jetty.home" default="."/>/wwwroot</Arg>
<Set name="defaultsDescriptor">org/mortbay/jetty/servlet/
webdefault.
xml</Set>
</Call>
This is the section I edited:
<!-- ===============================================================
-->
<!-- Configure the Contexts
-->
<!-- ===============================================================
-->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<!-- Add root context web applications.
-->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<Call name="addWebApplication">
<Arg>/</Arg>
<Arg><SystemProperty name="jetty.home"
default="."/>/catalog/server/wwwroot</Arg>
<Set
name="defaultsDescriptor">org/mortbay/jetty/servlet/webdefault.xml</Set>
</Call>
When I try to run and example html page I get the following error:
HTTP ERROR: 404
/index.htm Not Found
RequestURI=/index.htm
Powered by Jetty://
What am I doing wrong?
Ron Mast
Webmaster
Truth Hardware
Ph: 507-444-4748
Fx: 507-444-5361
www.truth.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Matthew Woodward
Sent: Friday, May 20, 2005 9:42 AM
To: [email protected]
Subject: Re: is this possible?
You might want to look into CFEverywhere--just do a google for that
or a search on findarticles.com and you'll find some info. It lets
you set things up so you can run CF apps on a CD or give people a one-
click installer.
Matt
On May 20, 2005, at 9:38 AM, Ryan Everhart wrote:
> Ron,
> You should be able to download all the HTML files to you computer,
> then simply rename the files with the .cfm extension. However CFM
> and HTML pages can exist on the same web site with out any problem.
> CFMs can call HTML and vise versa. If the HTML pages that you are
> converting to CFM pages have no CFM code on them it is better to keep
> them as HTML pages. All CFM pages go through the ColdFusion server
> for processing, so you could be taking up processing power you don't
> need to.
>
> Back to you question you could design something with CFHTTP and CFFILE
> to open a web document, read it and save it with another file
> exentsion, but it might be more work than it's worth. How many pages
> do you need to convert?
>
> Ryan
>
>
> On 5/20/05, Ron Mast <[EMAIL PROTECTED]> wrote:
>
>>
>>
>> Hi All,
>>
>> Me again. Is there a way to capture the view source code from a
>> website
>> programmatically in CF? What we want to do is convert all .cfm
>> files to
>> .html files to put on CD's. What's the best way to do this?
>>
>> Again, thanks in advance!
>>
>>
>>
>> Ron Mast
>>
>> Webmaster
>>
>> Truth Hardware
>>
>> Ph: 507-444-4748
>>
>> Fx: 507-444-5361
>>
>> www.truth.com
>>
>>
>>
>> _______________________________
>>
>> This e-mail and any files transmitted with it are confidential and
>> are
>> intended solely for the use of the individual to whom they are
>> addressed.
>> If you are not the intended recipient or the individual
>> responsible for
>> delivering the e-mail to the intended recipient, please be advised
>> that you
>> have received this e-mail in error and that any use, dissemination,
>> forwarding, printing, or copying of this e-mail is strictly
>> prohibited.
>>
> ----------------------------------------------------------
> To post, send email to [email protected]
> To unsubscribe:
> http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
> http://www.dfwcfug.org/form_MemberRegistration.cfm
>
>
>
--
Matthew Woodward
[EMAIL PROTECTED]
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
http://www.dfwcfug.org/form_MemberRegistration.cfm
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
http://www.dfwcfug.org/form_MemberRegistration.cfm