Thanks, Dean.

I'm adding some ASP.NET features to an existing static site that has 
excellent rankings and the client doesn't want the file names changed.

A handler _is_ required in the appropriate config file so ASP.NET knows what 
to do with files with an '.html' extension.

Posted below for future reference:
<system.web>
 <httpHandlers>
   <add verb="*" path="*.html" type="System.Web.UI.PageHandlerFactory" />
 </httpHandlers>
...
<system.web>


Steve

----- Original Message ----- 
From: "Dean Fiala" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 30, 2005 8:27 AM
Subject: Re: [AspNetAnyQuestionIsOk] Serving .html Files with ASP.NET


> Steve,
> So you want .NET to generate the html files dynamically, instead of having
> IIS simply serve static html?
>
> If so, what you need to do make sure that Check For File Exists is NOT
> checked.
>
> You might also need to create a handler, which I've had to do for image
> files.
>
> On 8/29/05, Steve Parrish <[EMAIL PROTECTED]> wrote:
>>
>> Ok. I give up! How the heck do I get ASP.NET <http://ASP.NET> to hande 
>> the
>> .html extension on
>> IIS 6? I've set IIS properly (?) by setting the mapping for .html to the
>> same as for.aspx in the Application Configuration, but no-go. I restarted
>> IIS at least twice.
>>
>> Thanks,
>>
>> Steve
>>
>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>
>
> -- 
> Dean Fiala
> Very Practical Software, Inc
> http://www.vpsw.com
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to