Thanks for your reply.
Based on your further explanation, I understand that you only want your
custom httphandler to intercept and process those "*.rtf" requests under a
particular sub directory path, correct?
If this is the case, I think you can consider the following means:
Do not add the custom httphandler mapping in your application's root
web.config file. Create a sub directory (suppose named "subdir" ) ini your
application directory and put a sub web.config in it and put the custom
httphandler mapping in this sub web.config file .e.g.
App Root/
subdir/
web.config
=========web.config============
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<httpHandlers>
<add verb="*" type="MyRtfHandler" path="*.rtf" />
</httpHandlers>
</system.web>
</configuration>
===============
Thus, only url with "rtf" extension and are under that "subdir" will be
processed by your custom handler.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.