dont forget a closing one for this too...
it requires another one...so...just like this for each type of extension...
<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>
sorry, i forgot the closing one.
tw
On Wed, 14 Jul 2004 15:17:36 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote:
> .html files in CFMX
>
> Open the C:\CFusionMX\wwwroot\WEB-INF\web.xml . You can modify the
> extension mappings by adding these lines:
>
> <servlet-mapping>
> <servlet-name>CfmServlet</servlet-name>
> <url-pattern>*.html</url-pattern>
> </servlet-mapping>
>
> and why...doug, you ask....because some people like to have .html/.htm
> and other extensions for cold fusion applications.
>
> no other reason.
>
> i have .revolution, .tony, .whatever mapped to it.
>
> just because i can.
>
> and it makes my site unique!
>
> tw
>
>
>
> On Wed, 14 Jul 2004 14:11:21 -0500, Doug White <[EMAIL PROTECTED]> wrote:
> > Why on earth would you place the extra load on the server by making CF handle
> > htm files? I have seen this once before when a client wanted that set up on a
> > shared server. IIS 6.0 handles htm files so much easier and with a lot less
> > CPU load.
> >
> > Doug
> >
> >
> > ----- Original Message -----
> > From: Jeremy Bunton
> > To: CF-Talk
> > Sent: Wednesday, July 14, 2004 12:41 PM
> > Subject: 6.1 and 2003 server standard - iis 6
> >
> > Hello,
> >
> > I am building a dev/test box with 2003 server and iis 6
> > running 6.1. The install seemed to go fine. I am moving
> > some sites over to the new machine and one has the .htm
> > extension mapped to be processed by CF. I did this on 2000
> > server but ccan't recall what i did and am sure it is
> > deifferent now. I think I had to add an isapi mapping and
> > change an xml file. What is that procedure on 2003 and i
> > recall someone mentioning a nasty cache problem on 2003
> > that also requires a change in an xml file to fix. ANy help
> > would be appreciated. THanks a lot
> >
> > Jeremy
> >
> >
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

