G
Guest
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.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
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.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm