Re: Need .htm to go to both ASP.NET and for files
- From: "Alexey Smirnov" <alexey.smirnov@xxxxxxxxx>
- Date: 16 Mar 2007 15:43:41 -0700
On Mar 16, 9:33 pm, David Thielen <thie...@xxxxxxxxxxxxx> wrote:
Hi;
This appears to be a bit of a problem. Our portal's help system is composed
of .htm files. So if the requested file is application/help/datasource.htm,
that is a file on disk that should be returned by IIS.
We also have htm files (reports) that are stored in the database. Those are
returned using:
<httpHandlers>
<add verb="*" path="report-view.*" type="ReportView"/>
</httpHandlers>
And for these we have to set it in IIS that .htm files are passes to ASP.NET
and do not require that the file exists.
However, when we set this in IIS, then the help.htm files are not returned.
How can we set it that if an httpHandler handles it. it returns the .htm file
but otherwise it looks on disk for the file.
It seems to me there must be a way to do this because this must be a common
need - htm files returned by both HttpHandlers and as files on disk.
Try to add
<add path="/application/help/*.htm" verb="*"
type="System.Web.StaticFileHandler" />
.
- Prev by Date: Re: "could not find a non-generic method" when creating a very simple example with typed datasets
- Next by Date: Re: Help with web user control
- Previous by thread: "could not find a non-generic method" when creating a very simple example with typed datasets
- Next by thread: Re: Need .htm to go to both ASP.NET and for files
- Index(es):
Relevant Pages
|