Sorry,  forgot attachments do not go through here......

take 2............

Setting up mappings in IIS and CFMX

You need to make changes in two locations:

IIS >> Website Properties >> HomeDirectory >> Configuration
\CFusionMX\wwwroot\WEB-INF\web.xml

Changes to \CFusionMX\wwwroot\WEB-INF\web.xml

These changes may have to be made to each site.  Additions should be made
that resemble those below:

- <servlet-mapping>
  <servlet-name>CfmServlet</servlet-name> 
  <url-pattern>*.htm</url-pattern> 
  </servlet-mapping>
- <servlet-mapping>
  <servlet-name>CfmServlet</servlet-name> 
  <url-pattern>*.htm/*</url-pattern> 
  </servlet-mapping>
- <servlet-mapping>
  <servlet-name>CfmServlet</servlet-name> 
  <url-pattern>*.html</url-pattern> 
  </servlet-mapping>
- <servlet-mapping>
  <servlet-name>CfmServlet</servlet-name> 
  <url-pattern>*.html/*</url-pattern> 
  </servlet-mapping>
- <servlet-mapping>
  <servlet-name>CfmServlet</servlet-name> 
  <url-pattern>*.cfm</url-pattern> 
  </servlet-mapping>
- <servlet-mapping>
  <servlet-name>CfmServlet</servlet-name> 
  <url-pattern>*.cfm/*</url-pattern> 
  </servlet-mapping>
- <servlet-mapping>
  <servlet-name>CfmServlet</servlet-name> 
  <url-pattern>*.cfml</url-pattern> 
  </servlet-mapping>
- <servlet-mapping>
  <servlet-name>CfmServlet</servlet-name> 
  <url-pattern>*.cfml/*</url-pattern> 
  </servlet-mapping>

You may also have to delete cached classes after applying these changes.
Only do this if you still experience problems.  I had to as it was not
refreshing the page properly.
\CFusionMX\wwwroot\WEB-INF\cfclasses
Changes to IIS


Open the properties in IIS for the website that you are wanting to map.
Click on the Home Directory Tab.
Click the Configuration... button.
Click on the mapping for cfm.
Click the edit button.
Copy the highlighted text in the Executable text box.
Click Cancel.
Click Add.
Paste the highlighted text in the Executable text box.
Type .htm in the Extension text box. (You may use different extensions, but
they have to be mapped in both places.)
Click OK.
Click Add.
Paste the highlighted text in the Executable text box.
Type .html in the Extension text box. (You may use different extensions, but
they have to be mapped in both places.)
Click OK.

(You may use different extensions, but they have to be mapped in both
places.)
Restart CF service and Stop and Start the web site.


 

-----Original Message-----
From: Mike Byers [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 4:36 PM
To: CF-Talk
Subject: RE: Make CF Server process a new extension ".NAP" like it does
" .cfm


Try this..

See attached.  In place of HTML or HTM use NAP

-----Original Message-----
From: Matt Liotta [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 2:56 PM
To: CF-Talk
Subject: RE: Make CF Server process a new extension ".NAP" like it does
".cfm


Sean Corfield explained how to do this in his blog, see
http://www.corfield.org/blog/.

Matt Liotta
President & CEO
Montara Software, Inc.
http://www.montarasoftware.com/
V: 415-577-8070
F: 415-341-8906
P: [EMAIL PROTECTED]

> -----Original Message-----
> From: Brook Davies [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 25, 2002 1:06 PM
> To: CF-Talk
> Subject: Re: Make CF Server process a new extension ".NAP" like it
does
> ".cfm
> 
> Has anyone got this working? I tried simply updating the IIS settings
> (mappings) to reference the same jrun.dll file as the other cf
mappings
> but
> this did not work for me. Did it work for you?
> 
> 
> At 06:12 PM 22/07/02 -0400, you wrote:
> >if you are using iis then you can go to the home directory tab of the
web
> >site properties and click configuration.  ther you can add a mapping,
go
> >ahead and look at the cfm mapping and mimic it, except with your .nap
> >extension.
> >
> >----- Original Message -----
> >From: "Steven A. del Sol" <[EMAIL PROTECTED]>
> >To: "CF-Talk" <[EMAIL PROTECTED]>
> >Sent: Monday, July 22, 2002 5:48 PM
> >Subject: Re: Make CF Server process a new extension ".NAP" like it
does
> >".cfm
> >
> >
> > > Does anyone know how to make the CF SERVER process pages with and
> uncommon
> > > extension?
> > > A long time ago Ben Forta told me how to do this well now I have
an
> > > application for it..
> > >
> > >
> >
> 


______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to