RE: mx conversion problem: code exposed: SOLUTION

2002-10-08 Thread Kelly Tetterton

I wanted to respond to the thread I started a few days ago with the solution we 
finally came to. The problem, just as a reminder, was the hitting the main page of the 
app would just show exposed code, and all sub-pages would just immediately show a 
page not found browser error.

Relevant data:
-- app written in FB3
-- using SES urls
-- W2K server
-- IIS

The solution, as written up by one of my colleagues (note that we didn't have to do 
any re-install of the server):

Here are the steps and their explanations for reviving our server:

1. In the c:\cfusionmx\wwwroot\web-inf\web.xml file, we had to add the following code:

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

This was to enable the use of search engine friendly URL's.

2. We had to run the Remove_ALL_connectors.bat file in c:\cfusionmx\bin\connectors

3. We then had to run the IIS_connector.bat file. We had to do these two steps because 
the associations to JRun and Cold Fusion in IIS were missing.

4. We then had to delete the IIS web site instance for the site, and re-create it, as 
the connectors bat only applies settings to the Master settings, not existing 
instances. We also had to delete and re-create the default web site to get the CF 
Admin working.

I hope this helps others who might run into the same (or similar) issues --

Kelly Tetterton
duoDesign -- Technical Lead
Macromedia Certified ColdFusion Developer
Internet design, technology and marketing

847-491-3000 | main
847-491-3100 | fax
847-491-7125 | direct

[EMAIL PROTECTED]
www.duoDesign.com


-Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 8:58 AM
To: CF-Talk
Subject: RE: mx conversion problem: code exposed


You havent mapped (or more likely, the installer didnt) the jrun.dll
extension.  

You will have to go into IIS and map the .cfm extension direct to the
jrun.dll.

Neil

-Original Message-
From: Kelly Tetterton [mailto:[EMAIL PROTECTED]]
Sent: 07 October 2002 14:53
To: CF-Talk
Subject: mx conversion problem: code exposed


We are starting to migrate to mx from cf5, but we're not getting very far
off the ground with our first site.

When we hit the site, dev.myurlhere.com, all the code of the default page is
exposed; it's almost as if the server is not recognizing the .cfm extension.
And yet the administrator works just fine.

Has anyone else run into this?

We're on IIS, W2K --

Kelly Tetterton
duoDesign -- Technical Lead
Macromedia Certified ColdFusion Developer
Internet design, technology and marketing

847-491-3000 | main
847-491-3100 | fax
847-491-7125 | direct

[EMAIL PROTECTED]
www.duoDesign.com



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: mx conversion problem: code exposed

2002-10-07 Thread Robertson-Ravo, Neil (REC)

You havent mapped (or more likely, the installer didnt) the jrun.dll
extension.  

You will have to go into IIS and map the .cfm extension direct to the
jrun.dll.

Neil

-Original Message-
From: Kelly Tetterton [mailto:[EMAIL PROTECTED]]
Sent: 07 October 2002 14:53
To: CF-Talk
Subject: mx conversion problem: code exposed


We are starting to migrate to mx from cf5, but we're not getting very far
off the ground with our first site.

When we hit the site, dev.myurlhere.com, all the code of the default page is
exposed; it's almost as if the server is not recognizing the .cfm extension.
And yet the administrator works just fine.

Has anyone else run into this?

We're on IIS, W2K --

Kelly Tetterton
duoDesign -- Technical Lead
Macromedia Certified ColdFusion Developer
Internet design, technology and marketing

847-491-3000 | main
847-491-3100 | fax
847-491-7125 | direct

[EMAIL PROTECTED]
www.duoDesign.com


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm